time.i1p.v = get_time([use_this.u4.v])
This routine returns a pointer to a null-terminated LEN_GETTIME
character text string representing the current date and time.
The string has the following format:
[use_this] if specified, time string is calculated
using this time (time_t specified) rather
than the current time
*** a value of 0 indicates current time ***
This function returns status values as follows:
THIS ROUTINE IS DEPRECATED FOR THE FOLLOWING REASONS:
1. String is returned in a static buffer, so it is not
2. 2 digit year in output means it is not Y2K compliant.
3. It does not specify a time zone, so it does not distingish
between duplicated local times during the transition
back to standard time from daylight savings time.
4. The argument it expects is not a Linux time_t but a
"local" time_t. A "local" time_t is the VAX/VMS semantics
for time_t, and is probablmatic because it
a. increases by 3601 in a single sec at the transistion to DST and
b. decreases by 3599 in a single sec at the transistion from DST.
pointer to ASCII date string
This function requires the following include files:
cnsparam_h, cbslib_h, time.h
clinks_now, clinks_to_date, localtime
time_string = get_time((time_t) 0);