note 58342 deleted from function.date by tularis
| From: | tularis@php.net | Date: | Tue, 01 Nov 2005 11:58:21 +0000 |
| Subject: | note 58342 deleted from function.date by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97920@lists.php.net to get a copy of this message | ||
Note Submitter: jim at catsanddogs dot com
Reason: useless
----
Don't get caught out for day light saving hours in the UK:
<?php
echo(date('d-m-Y', 1130626800));
echo(date('d-m-Y', 1130713200));
?>
These two days timestamps are separated by 86, 400 (the equivalent to a single day) yet both give
the same result 30/10/2005. This is down to the clocks getting put back.