HELPLIB.HLB  —  System Services, $GETTIM
    Returns the current system time in a 64-bit format.

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

    Format

      SYS$GETTIM  timadr,[flags]

    C Prototype

      int sys$gettim  (struct _generic_64 *timadr,...);

1  –  Arguments

 timadr

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       write only
    mechanism:    by 32- or 64-bit reference
    The 32- or 64-bit address of a quadword to receive the current
    time in 64-bit format.

 flags

    OpenVMS usage:mask_longword
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value (Alpha and Integrity servers)
    An optional argument that modifies the form of the returned
    time value. If this argument is not specified, it is same as
    specifying an argument of 0.
Close Help