This post was most recently updated on December 11th, 2018
You can set the time using a telnet to your box.
Login as root with no password
then you can use : date -?
and you se the syntax of the command:
Usage: date [OPTION]… [MMDDhhmm [+FORMAT]
Displays the current time in the given FORMAT, or sets the system date.
Options:
-R Outputs RFC-822 compliant date string
-d STRING Displays time described by STRING, not `now’
-I[TIMESPEC] Outputs an ISO-8601 compliant date/time string
TIMESPEC=`date’ (or missing) for date only,
`hours’, `minutes’, or `seconds’ for date and,
time to the indicated precision
-D hint Use ‘hint’ as date format, via strptime()
-s Sets time described by STRING
-r FILE Displays the last modification time of FILE
-u Prints or sets Coordinated Universal Time
Type:
date -s 091519312009
to set the date and time to Tue Sep 15 19:31:00 CST 2009
after that set the hardware clock:
hwclock -w