Tuesday, March 31, 2026

A Time That Does Not Exist

If you ask me to meet you on Sunday, March 8, 2026, at 2:30 am, I would have to tell you that time does not exist.  Ask me to meet you on Sunday, November 1, 2026, at 1:30 am, I would have to ask you, "Which one?'  Of course, I'm talking about the effect of starting and ending Daylight Saving Time.  But time itself doesn't leap forward or fall back; it's just the way we humans want to label time.  Because of that and a few other factors, like the Earth's rotation continuing to slow down, keeping track of time is difficult, particularly for computers, where it's really important.

For those non-techies, you can stop reading now.

The programming language of the Internet is JavaScript, and it was modeled on Java.  Java had a flawed "Date" function, and in the haste to get JavaScript completed, those flaws got included.  That's been (finally) fixed with the introduction of a new JavaScript time function called Temporal, which provides a more reliable and feature-rich way to handle dates and times compared to the legacy Date object. It includes support for time zones, calendars, and immutable date-time representations, making date management simpler and less error-prone.  More details can be found at the following link.




No comments:

Post a Comment