December 2002
Intermediate to advanced
1616 pages
39h 57m
English
Displays or sets the time and date
date [options][+format |newdate]
The date utility displays the time and date. Superuser can use this utility to change the system clock.
When Superuser specifies a newdate, the system changes the system clock to reflect the new date. The newdate argument has the format
nnddhhmm[[cc]yy][.ss]
Where nn is the number of the month (01-12), dd is the day of the month (01-31), hh is the hour based on a 24-hour clock (00-23), and mm is the minutes (00-59). When you change the date, you must specify at least these fields.
The optional cc specifies the first two digits of the year (the value of the century minus 1), and yy specifies the last two digits of the year. You can specify yy or ccyy following ...
Read now
Unlock full access