Section: User Commands (1)Index
date - date and time
Print the date, in the format
Tue Aug 16 17:03:52 CDT 1977
The options are
- Report Greenwich Mean Time (GMT) rather than local time.
- Report the date as the number of seconds since theepoch, 00:00:00 GMT, January 1, 1970.
The conversion from Greenwich Mean Time to local time depends on the$timezoneenvironment variable; seectime(3).
If the optional argumentsecondsis present, it is used as the time to convert rather thanthe real time.
This document was created byman2html,using the manual pages.