3 ms·
I kind of assumed all computer clocks were UTC, but that you also specified a location, and when asked what time it is, it did the math for you.
by jay_kyburz 1y ago
I kind of assumed all computer clocks were UTC, but that you also specified a location, and when asked what time it is, it did the math for you.
- TylerE 1y agoAKA time zones
- evil-olive 1y agothat's the difference between "aware" and "naive" timestamps. Python has a section explaining it in their docs (though the concept applies to any language): https://docs.python.org/3/library/datetime.html#aware-and-naive-objects https://docs.python.org/3/library/datetime.html#aware-and-na...
- pseudalopex 1y agoWindows assumes computer clocks are local time. It can be configured to assume UTC. Other operating systems assume computer clocks are UTC. Many log tools are not time zone aware.
- mrheosuper 1y agoComputer clock is just counter, if you set the start counting point to UTC, then it's UTC, you set it to local time, then it's local time.