4 ms·
Some times cannot be expressed in UTC. For example: “this meeting will take place at 10 AM on July 31st, 2026, US Pacific time” cannot be expressed in UTC. You
by School-Cotton 1y ago
Some times cannot be expressed in UTC.
For example: “this meeting will take place at 10 AM on July 31st, 2026, US Pacific time” cannot be expressed in UTC. You can guess what time UTC that refers to, and you’ll probably be right, but you’ll be wrong if it turns out for example that the US abolishes DST before that date.
- zajio1am 1y agoIn that case it is no really a time, it is a condition.
- bmacho 1y agoYup, it's a function that leads to a time, depending on some things. And you can't express it in UTC, so you better store the whole function (as a string, for example). QED
- layer8 1y agoIf the “condition” is what’s important for whatever you want to achieve, then that’s the thing to store. Moreover, most people in real life will understand that to be a time and won’t care how it maps to UTC.