|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Date and Time Calculation > TCA. - Time Calculation > TCA. - Time Calculation |
MiniRobotLanguage (MRL)

TCA.Day To Number
Convert a dayname to a number
Intention
Will convert names like "Thu" for "Thursday" into a numeric output (1 for Monday etc.).
Should recognize english and german names for days.
Syntax
TCA.Day To Number|P1[|P2]
Parameter Explanation
P1 - Input Dayname like "Mon" or "MON" or "Monoday" etc.
P2 - (optional) Variable for result. If omitted the result is placed on TOS.
Example
'***********************************
' TCA.-Sample
'***********************************
$$DAY=MON
TCA.day to number|$$DAY|$$RET
MBX.$$RET
ENR.
Remarks
-
Limitations:
-
See also:
•