TCA. - Time Calculation

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Date and Time Calculation > TCA. - Time Calculation >

TCA. - Time Calculation

TCA.Month to Number

Previous Top Next


MiniRobotLanguage (MRL)

 

 

clip0954

 

 

TCA.Month to Number

Convert Month-Names like "Mar" for "March" into a number (3 for March)

 

 

Intention

 

Will convert names like "Mar" for "March" into a numeric output (3 for March etc.).

Should recognize english and german names for Month.

 

 

 

 

Syntax

 

 

TCA.Month to Number|P1[|P2]

 

 

Parameter Explanation

 

P1 - Input Monthname like "Mar" or "MAR" or "March" etc.

P2 - (optional) Variable for result. If omitted the result is placed on TOS.

 

 

 

 

 

Example

 

'***********************************

' TCA.-Sample

'***********************************
$$DAY=MAY

TCA.month to number|$$DAY|$$RET

MBX.$$RET

ENR.

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: