Library /sys$common/syshlp/helplib.hlb  —  System Services, $TIMCON
    Converts 128-bit Coordinated Universal Time (UTC) format to 64-
    bit system format or 64-bit system format to 128-bit UTC format
    based on the value of the convert flag.

    On Alpha and Integrity server systems, this service accepts 64-
    bit addresses.

    Format

      SYS$TIMCON  [smnadr] ,[utcadr] ,cvtflg

    C Prototype

      int sys$timcon  (struct _generic_64 *smnadr, unsigned int

                      *utcadr [4], unsigned long int cvtflg);

1  –  Arguments

 smnadr

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       read/write
    mechanism:    by 32- or 64-bit reference (Alpha and Integrity
                  servers)
    The 64-bit system format value that $TIMCON will use in the
    conversion. The smnadr argument will be read from or written to
    based on the value of the cvtflg argument. The smnadr is required
    when converting UTC time to 64-bit system format.

 utcadr

    OpenVMS usage:coordinated universal time
    type:         utc_date_time
    access:       read/write
    mechanism:    by 32- or 64-bit reference (Alpha and Integrity
                  servers)
    UTC time value that $TIMCON will use in the conversion. The
    utcadr argument will be read from or written to based on the
    value of the cvtflg argument. The utcadr argument is required
    when converting 64-bit system format to UTC time.

 cvtflg

    OpenVMS usage:conversion flag
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    A longword indicating the direction of the conversion. If the
    cvtflg value is 0, UTC time is converted to 64-bit system value.
    If the cvtflg value is 1, 64-bit system format is converted to
    UTC time.
Close Help