4 ms·
>So, as an experienced programmer you always use UTC to store time. And you are right! Umm, no, as an experience programmer I don't touch UTC until I hit somet
by tscs37 10y ago
>So, as an experienced programmer you always use UTC to store time. And you are right!
Umm, no, as an experience programmer I don't touch UTC until I hit something a human might read at this moment, otherwise I ship unix timestamps. I'm not that insane.
The UI which is currently displayed has the best information available to use the correct timezone, calendar, font, notation format and language to display time.
Not hitting frontend but needs a human-readable timestamp for insane reasons? UTC. All databases are UTC, all servers are UTC.
I'm not gonna touch time unless absolutely necessary and if I'm going to do it, I'm going to do it with a long pole and acid-resistant gloves on.