Timeline for How to fetch correct UTC in system
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2020 at 13:36 | comment | added | JdeBP | The big clue, G-Man, was that the question was posted roughly half an hour after the local time given in (the original version of) the question. (-: The questioner has done everything right, set the hardware RTC to be interpreted as UTC and run an NTP client. The NTP client simply did not "fetch the correct UTC", which is in the question title and which is exactly what is dealt with by the general NTP Q&A aforementioned. UTC in the hardware clock is off by 5.5 hours (for obvious reasons) and neither ntpd nor ntpdate were willing to fix it by fetching the correct UTC. | |
| Jul 31, 2020 at 3:02 | comment | added | codeandcloud | I will re-write the question. I am basically a Microsoft stack developer and a noob with linux. Exploring .NET Core runtime. | |
| Jul 30, 2020 at 20:47 | comment | added | G-Man Says 'Reinstate Monica' | @JdeBP: The question is (IMHO) unclear, and you and I are interpreting it differently. The problem is that the OP doesn’t say what time it really is when he runs the timedatectl command. Yes, it shows that the RTC time is set to the same value that is displayed as UTC. But the text says “Indian Standard Time (IST) is being incorrectly shown as Universal Time (UTC).” I interpret this to mean that he ran the command at 13:15 IST (local time), and so the RTC is set to local time (and the command is displaying local time incorrectly). | |
| Jul 30, 2020 at 20:10 | comment | added | JdeBP | It's easy to reach for the canned "You haven't used UTC for your hardware RTC." answer, but in this case the question outright tells us that the hardware RTC is in UTC. The real problem here is that the questioner hasn't noticed an important paragraph in the ntpdate manual, and an important setting in the ntpd manual that applies to a clock that is 5.5 hours off. This WWW site's general NTP Q&A already answers this. | |
| Jul 30, 2020 at 19:37 | history | answered | Boba Fit | CC BY-SA 4.0 |