Date

From Linuxintro
Revision as of 14:35, 20 April 2009 by imported>ThorstenStaerk (New page: date is a command to show or set the current system date and time. Examples: * show the date date Fri Apr 17 13:21:55 EDT 2009 * set the date; in this example to april-20, 2009 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

date is a command to show or set the current system date and time.

Examples:

  • show the date
date
Fri Apr 17 13:21:55 EDT 2009
  • set the date; in this example to april-20, 2009
sudo date -s 20090420