384
you are viewing a single comment's thread
view the rest of the comments
[-] ShortFuse@lemmy.world 2 points 6 months ago* (last edited 6 months ago)

Timestamp in UTC

But for time of day, use local time and store separate column with the timezone name. Don't use timezone offsets since that doesn't work with DST. You're better off with something like America/New_York because God knows what 2030 will look like.

And if timezone are abolished, or DST, that's even more reason to store the timezone name.

this post was submitted on 03 Apr 2024
384 points (95.5% liked)

Programmer Humor

32267 readers
19 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS