MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 4 63
Command Definitions (ABORTSESS - FCLOSE)
CALENDAR
CALENDAR
NM and CM callable.
Returns the calendar date, including the day of year and the year since 1900.
Syntax
U16
date
:=CALENDAR;
Functional Return
date
16-bit unsigned integer (assigned functional return)
Returns the calendar date in the following format:
Bits Value/Meaning
7:9 Day of year
0:7 Year since 1900
Related Information
Intrinsics ALMANAC