Sync time (date) between Windows and Linux on a Intel based P.C.
Must be done as root:
- First look at the file /etc/default/rcS and be sure the UTC flag is set to "no".
example:
UTC=no
Unix based (non intel based P.C.'s) will have it as "yes".
The problem is that Intel based P.C.s keep the time/date
information in your bios with the local time zone.
-
Ensure the time zone is correct. Run "tzconfig". (time zone configuration)
-
Ensure the time and date is correct using the date
command. ex: date 0309105701 will set the software clock to
March 9th, 10:57am, 2001.
MMDDHHMMYY format
Docs:
- man clock
- man date
- man tzconfig
Last modified: Tue Jun 5 12:14:08 EDT 2001