VMS Help
DECdts, utc_mkvmsgmtime
*Conan The Librarian
|
Converts a binary OpenVMS format time expressing GMT (or the
equivalent UTC) into a binary timestamp.
Format
#include <utc.h>
int utc_mkvmsgmtime(*utc, *timadr)
utc_t *utc;
const long *timadr;
Input
*timadr
Binary OpenVMS format time representing GMT or the UTC
equivalent.
Output
*utc
Binary timestamp.
The Make VMS Greenwich Mean Time routine converts an OpenVMS
format binary time representing GMT to a binary timestamp with
the equivalent UTC value. Since the input and output values are
based on different time standards, any input representing a value
after A.D. 30,000 returns an error.
0 Indicates that the routine executed successfully.
-1 Indicates an invalid time argument or invalid results.
See the sample program for the vmsgmtime routine.
Function: utc_vmsgmtime