NAME getnow - determine current date and time SYNOPSIS subroutine getnow (now) integer now (7) DESCRIPTION 'Getnow' is used to query the operating system for the current date and time. The requested information is returned in a seven-word integer array, where: word 1 contains the year (e.g. 1980); word 2 contains the month (e.g. 9); word 3 contains the day (e.g. 25); word 4 contains the hour (e.g. 13); word 5 contains the minute (e.g. 39); word 6 contains the second (e.g. 14); word 7 contains the millisecond (e.g. 397). The information returned by 'getnow' may be used as-is or further useful processing may be done by 'fmtdat' or 'wkday'. IMPLEMENTATION Operating systems generally have some mechanism for picking up the current date and time. If yours has one, use it. Getnow is not critical to the implementation of the tools and can be left as a stub if the operating system cannot supply the needed information. ARGUMENTS MODIFIED now BUGS Some systems cannot obtain all the time information described. Array elements that cannot be filled default to zero. SEE ALSO fmtdat (2), wkday (2), date (1)