VMS Help
System Services, $TIMCON

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    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 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)
    mechanism:    by 32-bit reference (VAX)
    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)
    mechanism:    by 32-bit reference (VAX)
    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     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.