60 seconds in a minute.
3600 seconds in an hour.
86400 seconds in a day.
Oops.
One of our testers turned up a bug, demonstrating that the last of those is not always true - weird things happen in the translation from seconds to calendar days when you are spanning daylight savings.
This, I decided, is the excuse I've been waiting for to pick up a copy of Calendrical Calculations by Reingold and Dershowitz.
March 15, 2004 8:57 AM
| TrackBack