Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)
124 Chapter 9
Year 2000 Enhancements
New Date Intrinsics for MPE/iX
Table 9-2 Existing Date Formats
a. “integer” and “longint” are binary values.
b. “ASCII” means ASCII character code.
c. MM3000 dates are represented as in the MM3000 product which used
the ASCII letters “A” - “Z” for decades starting with the year 2000.
Storage
Type
#
Bytes
Explanation
Sortable
?
Y2K
Ready?
longint
a
8 Microseconds since 1970-01-01 yes yes
(MPE time-stamp)
integer 4 Upper 2 bytes: year yes yes
next byte: month of year
bottom byte: day of month
integer 4 Upper 2 bytes: year yes yes
bottom 2 bytes: day of year
integer 4 Seconds since 1970-01-01 yes yes
(POSIX.1 time() format; valid through
2038-01-18)
shortint 2 Upper 7 bits: #years since 1900 yes yes
Lower 9 bits: day of the year
(CALENDAR format; valid up to
2027-12-31)
integer 4 YYMMDD date yes no
integer 4 MMDDYY date no no
integer 4 DDMMYY date no no
ASCII
b
6 YYMMDD date yes no
ASCII 6 MMDDYY date no no
ASCII 6 DDMMYY date no no
ASCII 6 YYMMDD date YY:MM3000 date
c
yes yes
ASCII 6 MMDDYY date YY:MM3000 date no yes
ASCII 6 DDMMYY date YY:MM3000 date no yes