Date (Unix) |
date is a Unix command that displays the current time and date of the system.
The date command in GNU is a part of Coreutils and is written by David MacKenzie.
For example, to display the current date and time you type: % date The response would be, e.g.,: wed sep 8 15:38:06 CEST 2004
To set the current date and time to September 8, 2004 01:22 you type:
# date --set= 20040908 01:22 Note that root privilegies is required to change the date. The response would be: wed sep 8 01:22:00 CEST 2004|
|