Linux – date command
10
Oct0
Oct0
To change the date and time, type su, enter your password, then become root. Or sudo if you have a different setup.
You must adhere to the following format when setting date and time
MMDDhhmmCCYY.ss
MM 2 digits month
DD 2 digits day of the month
hh 2 digits hour in 24-hour clock format
mm 2 digits minute
CC 2 digits century
YY 2 digits year
ss 2 digit seconds
For example: change the date and time to October 10 2008, 11:34:35 EDT
