Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-38
CONVERTTIMESTAMP 
Converts a GMT timestamp to or from a local-time based timestamp within any 
accessible node in the network.
process-time, FIXED:value input
hours, INT:ref:1 output
minutes, INT:ref:1 output
seconds, INT:ref:1 output
milliseconds, INT:ref:1 output
microseconds, INT:ref:1 output
< (CCL) The process-time parameter represents a quantity greater than 3.7 years.
= (CCE) CONVERTPROCESSTIME is successful.
> (CCG) One or more of the supplied output parameters failed the bounds check on the 
address.
ret-time := CONVERTTIMESTAMP ( julian-timestamp
 ,[ direction ]
 ,[ node ]
 ,[ error ] );
ret-time, FIXED returned value
julian-timestamp, FIXED:value input
direction, INT:value input
0 GMT to local civil time (LCT—the default).
1 GMT to local standard time (LST).
2LCT to GMT.
3LST to GMT.
node, INT:value input
error, INT:ref:1 output
-5 Value of node is out of range.
-4 Timestamp not supplied or has invalid value.
-3 Invalid value supplied for direction.










