SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
So Daylight savings time I believe it is ended a couple days ago. My clock is still 1 hour ahead on my linux machine. I am not set up as hardware clock is set to UTC (like to refrain from it too if possible) and my timezone is currently set to ETC/GMT -5
I live in Maine so I'm assuming that is the correct time zone there are several others I've seen used for our timezone before like America/New York US/Eastern are 2 other common ones but those make my clock 3 hours ahead which is worse. I've done some reading on this and I'M REALLY CONFUSED. Any help here would be appreciated thank you!
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Are you by any chance dual booting Windows?
If so, get into Windows and get into Control Panel, Date and Time, Time Zone and un-check Automatically adjust clock for daylight savings. That way, Linux will do the saylight changes and you won't have Windows adding an hour.
If you're going to be using MySQL and PHP, you do want to select a specific place-name from the list presented when you run timeconfig; If you're in the eastern time zone, selecting New York is just fine; do that before you do what @mudangel recommends and you ought to be good to go.
any of those tz is fine, just enable your ntp daemon /etc/rc.d/rc.ntpd and setup your ntp.conf and your time will sync up with the time source when you are online, i don't have to adjust anything when time changed over the weekend
Originally Posted by mudangel
You could do something like
ntpdate <IP of local time server>
hwclock --systohc --utc
Not dual booting with windows not yet I plan to later but stilll iffy if I want to deal with some of the issues that can arise from that. and if you give me a moment I will go through this a little more and see what I can get to work for me if not I guess I'll deal with this issue I could adjust but between clocks in my life being different then the computer it's gonna be tough. Thanks guys lets see what we can accomplish here
So whenever I do ntpdate serveraddress then it tells some time and date ntpdate: the NTP socket is in use, exiting
Last edited by fatalerror0x00; 11-10-2012 at 05:43 PM.
The timezone distinguishes between normal time and daylight saving time (ok, that was clear), when you execute the date command, you should see if the clock is set to normal or daylight-saving. For example here in Germany we have CET (central European time) but during daylightsavin-time it's shown as CEST (central European summertime).
Sat Nov 10 18:42:33 GMT-5 2012 or whatever the time zone should say but on every other operatin system I feel like GMT-5 doesn't handle DST but any other time zone I choose screws up my time and makes it like 6 hours more then it should be right now. do I maybe need to do a restart after changing time zones for it to take effect properly?
Thats what I'm talking about if i use timeconfig i would select from US and my time zone to select would be Eastern but some reason when I change to Eastern if I remember properly it is like 6 hours more then it is
I will try this again though in a few minutes maybe it's just me -.- I was extremely tired that night and maybe i was doing my math all wrong but i swear I double checked and triple checked :P
haha alright i keep forgetting they have man pages for like everything I keep thinking man pages are very limited -.- should have looked there first out of anything
So if i set my time zone to US/Eastern my computer now thinks it's 10:12:17 in the morning -.- I am not finding a timezone man page -.- anyone care to specify a manpage for what he was refering too so i may look at it
Last edited by fatalerror0x00; 11-10-2012 at 06:10 PM.