Re: Dates - adding to unix 86400 seconds not equal nextday
| From: | John Holmes | Date: | Wed, 01 Sep 2004 14:10:50 +0000 |
| Subject: | Re: Dates - adding to unix 86400 seconds not equal nextday | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35989@lists.php.net to get a copy of this message | ||
From: "ioannes" <ioannes@btinternet.com>
Sunday 31st of October 2004 12:00:00 AM unix: 1099177200 - first day Saturday 30th of October 2004 12:00:00 AM unix: 1099090800 - previous day Sunday 31st of October 2004 11:00:00 PM unix: 1099263600 - day after first day if I add 86400 to first - 1099177200 - I get 1099177200+86400=1099263600 [day after first day above], but this gives me 11pm on 31 Oct as above.Daylight Savings Time strikes again!!! http://webexhibits.org/daylightsaving/b.html ---John Holmes...