Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17589
| Subject | Re: its quiet here - test |
|---|---|
| Newsgroups | comp.lang.php |
| References | <59f0365f$0$746$e4fe514c@news.xs4all.nl> |
| From | Mark Lloyd <not@mail.invalid> |
| Message-ID | <sO2IB.20191$fc3.527@fx35.iad> (permalink) |
| Organization | Newshosting.com - Highest quality at a great price! www.newshosting.com |
| Date | 2017-10-25 11:17 -0500 |
On 10/25/2017 01:59 AM, Luuk wrote: > what? > > On 25-10-17 00:01, Mark Lloyd wrote: It was in September when I first wrote the "dtc" (days until Christmas) algorithm. It was expected to change the number of days at midnight, but it was actually changing at 1AM. The reason being the 25-hour day in November (National mess-with-your-clock day, where the hour 1:00:00 to 1:59:59 AM occurs twice). Assuming a day always has 24 hours (24 * 60 * 60 = 86400 seconds) is one of the common mistakes people make when working with dates. -- 61 days until the winter celebration (Monday December 25, 2017 12:00:00 AM for 1 day). Mark Lloyd http://notstupid.us/ "Heresy is only another word for freedom of thought." [Graham Greene, 1981]
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: its quiet here - test Luuk <luuk@invalid.lan> - 2017-10-25 08:59 +0200
Re: its quiet here - test Mark Lloyd <not@mail.invalid> - 2017-10-25 11:17 -0500
Re: its quiet here - test "R.Wieser" <address@not.available> - 2017-10-25 18:51 +0200
Re: its quiet here - test Mark Lloyd <not@mail.invalid> - 2017-10-26 11:47 -0500
Re: its quiet here - test "R.Wieser" <address@not.available> - 2017-10-27 01:04 +0200
Re: its quiet here - test Mark Lloyd <not@mail.invalid> - 2017-10-26 18:23 -0500
Re: its quiet here - test "R.Wieser" <address@not.available> - 2017-10-27 09:25 +0200
Re: its quiet here - test Mark Lloyd <not@mail.invalid> - 2017-10-27 12:31 -0500
csiph-web