You are not logged in.
I hope that is what you wanted, gave me the hwclock time by the look of it:
handy ~ $ LC_ALL=C date --utc
Mon Feb 6 12:40:47 UTC 2012Last edited by handy (2012-02-06 01:41:51)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
Have you run 'hwclock --hctosys' after you run 'hwclock --set'? Your clock is still wrong.
Offline
I have run it, it had no effect on my system's displayed time.
After finding that my hwclock was out when it has been correct up until one of the previous commands, I rebooted & set it approx correctly due to it having become an hour fast from one of the other commands. (I know I could have done it via command line, I was interested to see if anything changed in the system clock display on reboot.)
So if my hwclock isn't exactly accurate at the moment it is because I manually set it off of my other UTC box's displayed time, (with no seconds being showing).
[edit:] I just ran the command, it has had no effect on my displayed time as yet.
[edit2:] date still has the same 11 hours fast time as the desktop display has.
Last edited by handy (2012-02-06 01:55:50)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
I just ran the sudo hwclock --set --date="2012-02-06 11:45:50" followed by hwclock --hctosys & a bit later my display changed & date gives a similar time.
The problem is, (from previous experience) when I reboot I will lose that time & gain 11 hours for some still mysterious reason.
I will reboot now to check, with my fingers crossed that this time the correct time has found something to hold onto.
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
This goes on & on... lol
I have been having a problem with this machine & intermittent network failure. I eventually after doing some other things first replaced the NIC (turning the on board chip off in the BIOS) & have had no problems for 3 days. So I was thinking that it was the faulty on board network hardware.
Anyway, I just rebooted & lost the network. I have rebooted (cold & warm) multiple times, still no network.
The only good news it that the time held through all of those boots. I'm wondering what will happen when the machine can connect to the LAN again though.
I'll leave it off for a while to let it cool down in case heat is a problem & then boot up & see if the time stays correct when the internet is available.
Thanks for your patience karol, I do very much appreciate it.
Last edited by handy (2012-02-06 02:55:58)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
I'm on the net on this dastardly machine now & the time is good.
What I now understand, is that when you use the
hwclock --set --date="YYYY-MM-DD HH:MM:SS"command it sets your hardware clock (on the motherboard) to GMT (double checked on the GMT official site). Using UTC automatically does the math & presents the user with their local time.
I made a small addition to the Time wiki page to point this out for any as slow as me to understand just how it works.
I think that Win7 is responsible for initiating this time problem (which has existed for some weeks).
Very recently I changed the registry in Win7 so that it is (hopefully) now using UTC. I'll boot into the Win7 drive now & see if it is working, or whether it will mess up my time again.
Last edited by handy (2012-02-06 04:38:06)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
I don't understand your addition to the wiki, since it's partly self-evident and partly wrong:
Of course hwclock sets the hardware clock, what do you think it does?
Anyway, the BIOS won't show GMT unless hwclock is set to GMT, I guess, what you meant was UTC, and this is pretty self-evident, too.
Offline
I don't understand your addition to the wiki, since it's partly self-evident and partly wrong:
Of course hwclock sets the hardware clock, what do you think it does?
Anyway, the BIOS won't show GMT unless hwclock is set to GMT, I guess, what you meant was UTC, and this is pretty self-evident, too.
Because something is self evident to one it is by no means assured that it will be self evident to another.
Why not show a little kindness to those that can benefit from it?
By looking via the BIOS, the computer's hardware clock is set to GMT, I double checked.
__________
I booted to Win7 & it is now using UTC & had the correct time.
So the wiki instructions in that regard are good here.
Rebooted the Arch drive & the time held good.
So once again karol, many thanks for your patience & perseverance. Hopefully someone else will learn something positive from this thread also...
Last edited by handy (2012-02-06 04:27:20)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
How could you check, whether it's GMT?
UTC/GMT are pretty much the same except for daylight savings time in some territories, and BIOS won't format the clock, it shows raw hwclock !?
Offline
If you read this section:
https://wiki.archlinux.org/index.php/Time#Time_standard
It says the following:
There are two time standards: localtime and Coordinated Universal Time (UTC). The localtime standard is dependent on the current time zone, while UTC is the global time standard and is independent of time zone values. Though conceptually different, UTC is also known as GMT.
I didn't write it, so you don't have to delete it from the wiki. lol
Last edited by handy (2012-02-06 07:14:45)
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
It's called UTC for a reason,
saying BIOS will format it to GMT (potentially including DST) might confuse those, who need to be told, that hwclock actually sets the hardware clock and those are the ones you wanted to help.
GMT is, by definition, derived from UTC, as is any other timecode...that it's the same doesn't mean it's identical. No reason to drop your imprecision in the wiki.
Offline
I don't agree with what you are saying on more than one point. But I'm not going to squabble with you. I actually went looking for the ignore user option in this forum, but unfortunately it doesn't have the option. Go & find someone else to irritate.
I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!
Offline
Offline
$ sudo timedatectl set-ntp true
$ sudo timedatectl
Local time: Mon 2017-03-06 09:14:50 CST
Universal time: Mon 2017-03-06 15:14:50 UTC
RTC time: Mon 2017-03-06 15:14:50
Time zone: America/Chicago (CST, -0600)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
Corrected my time.
Offline
This thread is five years old. Don't necrobump: https://wiki.archlinux.org/index.php/Co … bumping.22
EVERY one of your posts has been a necrobump. If you do it again, you will be banned.
Closing
Offline