3 ms·
Why “Always use UTC” is bad advice
- mailslot 7y agoAlways “store” timestamps in UTC is more accurate. For date math purposes alone.
- foobarbazetc 7y agoOffsets aren’t useful information, since they can be derived from the timezone and change with DST. You should always store date times in UTC, and can store the timezone used to create them alongside that or use an account wide timezone setting.