APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Why didn't my machine change time for daylight savings time (or any time change) (Old Sco Unix)?

Because it needs to be running at the time that "setclk" is run by crontab (3:01 AM by default). So if you are in the habit of not leaving your machine running at night, the change will not be made.

John Dubois explains: Because the time reported by the CMOS (motherboard) clock is *local time*, and local time includes the effects of DST. It has to, because the BIOS interprets it this way; if the OS tried to leave the CMOS clock set to non-DST time, the BIOS would report the wrong time and admins would "fix" it when they noticed the wrong time being reported.

So, if the system is booted and sees that it's July and 15:10, then it's July and 15:10. If it's booted and sees that the time is November and 15:12, it's November and 15:12. There is no attempt to shift time from what the CMOS clock reports. The CMOS clock is kept in sync with local time by adjusting it back or forward as neccessary when the DST transitions occur, via that /etc/setclk command in crontab. But this obviously only occurs if the system is running at the right time.

Aloso see:

DST script

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) Why didn't my machine change time for daylight savings time(or

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Generally, old media don't die. They just have to grow old gracefully. Guess what, we still have stone masons. They haven't been the primary purveyors of the written word for a while now of course, but they still have a role because you wouldn't want a TV screen on your headstone. (Douglas Adams)



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode