|
|||||
Date and Time | |||||
Functions | Platforms |
The functions in this library define a set of operations on dates and times. They are built around a standard normalized form for the date/time, a 19-character string in "YYYYMMDDhhmmss+ZHZM" format where:
The response to erroneous argument values in these functions is to return a conventional value: for "stream" valued results this is always the string "???", and for "counter" valued results this is 0 (zero) for differences or 1 (one) for counts.
To use this library in a program, you must include the following code near the top of your program:
; Date and Time function and constant declarations include "omdate.xin"
Functions add-to-ymdhms arpadate-to-ymdhms format-ymdhms now-as-ymdhms round-down-ymdhms round-up-ymdhms ymd-weekday ymdhms-adjust-time-zone ymdhms-day-difference ymdhms-julian-day-count ymdhms-month-difference ymdhms-second-difference ymdhms-to-arpadate |
Platforms Digital Ultrix Digital UNIX (Alpha) HP/UX IBM AIX IBM MVS IBM OpenMVS IBM VM OpenVMS Alpha OS/2 SGI IRIX SINIX Solaris Sun OS Win 3.x 32 bit Win 95 Win NT |
---- |