MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 7 321
Command Definitions (HP32208-HPLOACNMPROC)
HPCALENDAR
HPCALENDAR
NM callable only.
This intrinsic returns the date in the supported date type code 4 listed in
the table, “Supported Date Formats.”
Syntax
I32
date := HPCALENDAR;
Operation Notes
Where date is the 32-bit unsigned integer (assigned functional
return).
This returns the calendar date in the following format:
Bits Value/Meaning
23:9 Day of year
0:23 Year since 1900
Related Information
Intrinsics HPFMTCALENDAR, HPDATECONVERT, HPDATEFORMAT, HPDATEOFFSET,
HPDATEVALIDATE, HPFMTCALENDAR