Question

Hardware clock is massively different to "real" time. Cant sync hardware clock :(

  • Posted January 15, 2015

Hi Guys…

I have a problem where the Centos server on the UK DC has a hardware clock very different to the real time.

[root@console ]# date Thu Jan 15 15:36:22 GMT 2015 [root@console ]# clock Thu 15 Jan 2015 03:36:26 PM GMT -0.757531 seconds

[root@console ]# hwclock --show Thu 15 Jan 2015 03:36:30 PM GMT -0.539283 seconds

[root@console ]# hwclock --systohc

[root@console ]# clock Thu 15 Jan 2015 03:37:12 PM GMT -0.429548 seconds [root@console ]# date Thu Jan 15 15:37:13 GMT 2015

Any ideas what can be done here to get the hardware clock in sync?

Subscribe
Share

Sorry, I might be wrong here, but it looks like #date shows you the time in military (24 hour clock) and #time shows you the same time in 12 hour clock.

Are you wanting a different time zone?

Sorry, I might be wrong here, but it looks like #date shows you the time in military (24 hour clock) and #time shows you the same time in 12 hour clock.

Are you wanting a different time zone?

well, it was good for a laugh

AHAHAH… Oh yeah! How on earth did I not see this! ahhahaah.

This here ladies and gentlemen is a perfect example of over thinking a problem without standing back and just looking at it for a bit

HAHAH

/Feel stupid.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

AHAHAH… Oh yeah! How on earth did I not see this! ahhahaah.

This here ladies and gentlemen is a perfect example of over thinking a problem without standing back and just looking at it for a bit

HAHAH

/Feel stupid.