← Back to context

Comment by umanwizard

4 days 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.

In that case it is no really a time, it is a condition.

  • If 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.

  • Yup, 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