calendar(3X)
NAME
calendar() − return the MPE calendar date
SYNOPSIS
#include <portnls.h>
unsigned short calendar(void);
DESCRIPTION
This routine returns the calendar date in the format:
| Bits | 0 | 6 | 7 | 15 |
| _ | _ | _ | _ | |
| Year of Century | Day of Year | |||
| _ | _ | _ | _ | |
RETURN VALUE
An unsigned short integer containing the calendar format.
WARNINGS
This routine is provided for compatibility with MPE, another HP operating system. See portnls(5) for more information on the use of this routine. Use the Native Language Support routines for C programmers described on hpnls(5) for HP-UX NLS support.
AUTHOR
calendar() was developed by HP.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 10.20: July 1996