From: "Peter Nikolla" <petern@hvnnet.com>
I am having a problem setting the date/time on my Linux box.
If you are not dual booting, set the proper time in UCT (Greenwich) in the ROM bios. Once that is right, it will become clear what is wrong. If you are dual booting, you may be forced to set the hardware clock to local civil time. That is no disaster, but you have to think harder to get it right. I think 'hwclock' should only be used to make small adjustments if the clock drifts after being set correctly. I am not sure what 'date' is for in SET! mode (as opposed to DISPLAY mode). Maybe in case you need to back-date some documents without re-booting.
I set it using date 030310152001 for 3/3/2001 10:15.
I almost wrote back "thou fool, hast permuted fields", but the 'man date' page seems to agree with you. Can anybody think of a more obtuse way to write a date? Sometimes Unix is embarrasing.
until I reboot the box. At that time it changes to some other time.
Calculate the amount of change and meditate upon that number.
I checked my CMOS and the time is correct. What am I doing wrong?
Correct local or correct UCT? -- -- Keith Wright <kwright@free-comp-shop.com> Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com> --- Food, Shelter, Source code. ---