39. The next day after 3 Sep 1752 is 4 Sep 1752.
Falsehoods Programmers believe about Time
61–70 of 222 posts
Re: Falsehoods Programmers believe about Time
#62Earlier quoted context omitted.
From which many modern reckonings of time descend, including the one used by all modern computer systems.
Actually, almost no country outside the British Empire (and not even Scotland inside it) implemented the Gregorian reform at the same time. Britain was pretty late in doing so, too. As for "all modern computer systems", Unix time is completely ignorant about anything except seconds.
In hindsight, it seems like a brilliant decision.
Re: Falsehoods Programmers believe about Time
#63Every time library I've ever dealt with will have serious problems with at least one issue listed on the original article or in the comments here. JodaTime (on the JVM) is by far the best, but even they have problems, and are creating a new library to solve those.
Re: Falsehoods Programmers believe about Time
#64And it doesn't even mention all the bizarre things that have been done (for reasons good and bad) to time by various governments. Like adjusting from local solar time to standard GMT offset timezones (which involves skipping a given number of minutes and seconds or having them twice). Or introducing/abolishing/moving around daylight savings time. Or "super daylight savings time" with a 2 hour offset. Or moving from o…
http://statoids.com/tbr.html -- "Note that the government frequently changes its mind [about DST] at the last minute."
Re: Falsehoods Programmers believe about Time
#65How about, "the difference between two timestamps is an accurate measure of the time that elapsed between them".
Re: Falsehoods Programmers believe about Time
#66Earlier quoted context omitted.
From which many modern reckonings of time descend, including the one used by all modern computer systems.
Actually, almost no country outside the British Empire (and not even Scotland inside it) implemented the Gregorian reform at the same time. Britain was pretty late in doing so, too. As for "all modern computer systems", Unix time is completely ignorant about anything except seconds.
Re: Falsehoods Programmers believe about Time
#67Earlier quoted context omitted.
That will stress it a bit, but to really torture it, see if it accepts 2012 June 30 23:59:60
Well, you don't know if 31.12.2015 will have a 23:59:60 or no. These seconds are announced just prior to being added, the system couln't possibly know it.
That's after the Mayapocolypse.
Re: Falsehoods Programmers believe about Time
#68And it doesn't even mention all the bizarre things that have been done (for reasons good and bad) to time by various governments. Like adjusting from local solar time to standard GMT offset timezones (which involves skipping a given number of minutes and seconds or having them twice). Or introducing/abolishing/moving around daylight savings time. Or "super daylight savings time" with a 2 hour offset. Or moving from o…
Re: Falsehoods Programmers believe about Time
#69TL;DR: calendaring is hard. really hard.
Re: Falsehoods Programmers believe about Time
#70How about, "the difference between two timestamps is an accurate measure of the time that elapsed between them".