4 ms·
Unless there is a leap second scheduled on short notice or you install the updated tz database rather late. For astronomical events or long term measurements (t
by funcDropShadow 5y ago
Unless there is a leap second scheduled on short notice or you install the updated tz database rather late. For astronomical events or long term measurements (think CERN) there is astronomical time, which does not add leap seconds.
But if you want to have precise date time far in the future you must not use UTC based milliseconds representations unless you want to check for necessary database migrations every time the time zone definitions change.
- deleted 5y ago[deleted]
- mulmen 5y agoIf you store zoned time in UTC then the zones or UTC change then the time can be formatted correctly in the future. My point in mentioning the solstice is that while some events are at “2pm”, others are “when something happens”. Sure, UTC is not suitable for conducting astronomy. It is suitable for working with human friendly times, since it is the foundation of timezones.