TCA. - Time Calculation

<< Click to Display Table of Contents >>

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

TCA. - Time Calculation

TCA. - Time Calculation

Previous Top Next


MiniRobotLanguage (MRL)

 

TCA. Command

Time Calculation

 

 

Intention

 

Using TCA. you can easily work with Times in this Standard-Format:

 

HH:MM:SS.ddd

 

Hereby the

- HH is Hours (0 to 99 - sometimes not limited to 12 or 24)

- MM is the Minutes limited 59

- SS is the Seconds limited 59

- ddd is the Milliseconds limited to 999

 

The Format of the Milliseconds is internally rounded to 3 places by prefixing zeroes.

If you specify 00:00:23 this will be treated as 00:00:00.023

If you specify 00:00:00.023 this will be treated as 00:00:00.023

 

If the addition of any of the values goes beyond their limit, the Carry is added to the next higher Parameter.

 

 

 

Example

 

-

 

Remarks

 

-

 

 

 

Limitations:

-

 

 

See also:

 

    1.5.1.3. Using Variables

    DAT. - Date and Time Information (System independent)

    VTT. - Value to Time

    TTV. - Time to Value

    VTD. - Value to Date

    DTC. - Date and Time Calculation

    VTF. - Verify Time Format

    VDF. - Verify Date Format

    IDC. / NDC. - If Date Command

    CAL. - mathematical CALculation

    CAX. - Calculate Extended