note 37605 deleted from function.mktime by vincent
| From: | vincent@php.net | Date: | Thu, 20 Nov 2003 17:08:18 +0000 |
| Subject: | note 37605 deleted from function.mktime by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60708@lists.php.net to get a copy of this message | ||
Note Submitter: trahma
----
I think it is important to note that the timestamp returned is based upon the number of seconds from
the epoch GMT, and then modified by the time zone settings on the server.
Thus...
mktime(0,0,0,1,1,1970) will not always return 0. For example with the US eastern time zone (GMT-5)
will return 18000 (5 hours past the epoch) and the same function with the time zone set to the US
pacific time zone (GMT-8) will return 28800 (8 hours past the epoch).