Copyright Digital Equipment Corp. All rights reserved.
You can use the Digital Distributed Time Service (DECdts)
programming routines to obtain timestamps that are based on
Coordinated Universal Time (UTC). You can also use the DECdts
routines to translate among different timestamp formats and
perform calculations on timestamps. Applications can use the
timestamps that DECdts supplies to determine event sequencing,
duration, and scheduling. Applications can call the DECdts
routines from DECdts server or clerk systems.
The Digital Distributed Time Service routines are written in
the C programming language. You should be familiar with the
basic DECdts concepts before you attempt to use the applications
programming interface (API).
The DECdts API routines can perform the following basic
functions:
o Retrieve timestamp information
o Convert between binary timestamps that use different time
structures
o Convert between binary timestamps and ASCII representations
o Convert between UTC time and local time
o Convert the binary time values in the OpenVMS (Smithsonian-
based) format to or from UTC-based binary timestamps (OpenVMS
systems only)
o Manipulate binary timestamps
o Compare two binary time values
o Calculate binary time values
o Obtain time zone information
DECdts can convert between several types of binary time
structures that are based on different calendars and time unit
measurements. DECdts uses UTC-based time structures and can
convert other types of time structures to its own presentation
of UTC-based time.
Time_Terminology utc_abstime utc_addtime utc_anytime utc_anyzone utc_ascanytime utc_ascgmtime utc_asclocaltime utc_ascreltime utc_binreltime utc_bintime utc_boundtime utc_cmpintervaltime utc_cmpmidtime utc_gettime utc_getusertime utc_gmtime utc_gmtzone utc_localtime utc_localzone utc_mkanytime utc_mkascreltime utc_mkasctime utc_mkbinreltime utc_mkbintime utc_mkgmtime utc_mklocaltime utc_mkreltime utc_mkvmsanytime utc_mkvmsgmtime utc_mkvmslocaltime utc_mulftime utc_multime utc_pointtime utc_reltime utc_spantime utc_subtime utc_vmsanytime utc_vmsgmtime utc_vmslocaltime Example