3 ms·
>In my experience most people, including most developers but perhaps excluding many HN readers, don't understand what the timezone setting does. The time on all
by snvzz 7y ago
>In my experience most people, including most developers but perhaps excluding many HN readers, don't understand what the timezone setting does. The time on all contemporary computers is always Unix Epoch Time, which is close to (but not exactly) UTC. Setting your timezone doesn't actually change anything about how time works on the computer. It just changes how time is printed. That's it.
This applies to e.g. Linux.
But the RTC in your computer might store localtime. I do recommend using UTC there no matter what. If dual-booting windows, this needs a little extra work[0].
[0]: https://wiki.archlinux.org/index.php/System_time#UTC_in_Windows https://wiki.archlinux.org/index.php/System_time#UTC_in_Wind...