Manual Pages
Table of Contents
date - display or set date and time
date [ -u ] [ yymmddhhmm[.ss] ]
date displays the current date and time when invoked without
arguments. The argument for setting the date and time is
interpreted as follows:
- yy
- Year in abbreviated form (e.g., 89 for 1989).
mm Numeric month. A number from 01 to 12.
- dd
- Day, a number from 01 to 31.
- hh
- Hour, a number from 00 to 23.
- mm
- Minutes, a number from 00 to 59.
- ss
- Seconds, a number from 00 to 59.
Time changes for Daylight Saving and Standard time, and for
leap seconds and years, are handled automatically.
- -u
- Display or set the date in GMT (universal time) instead
of local time.
na_timezone(1)
Table of Contents