Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-151
CONVERTTIMESTAMP Procedure
It is particularly important to avoid abending or other extreme actions when
responding to errors in time conversions that might be several years in the past or
the future. It is difficult for operators of a computer system to provide accurate
information about future and past Daylight Saving Time data.
Example
#include <cextdecs (CONVERTTIMESTAMP)>
#include <ktdmtyp.h> /* define long long etc. */
long long gmt_time; /* original (GMT) time stamp */
long long display_time; /* displayable (Local Civil Time) time stamp */
display_time = CONVERTTIMESTAMP( gmt_time, 0 ); /* GMT to LCT */
Related Programming Manual
For programming information about the CONVERTTIMESTAMP procedure, refer to the
Guardian Programmer’s Guide.