note 76146 deleted from function.gmmktime by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 03:18:05 +0000 |
| Subject: | note 76146 deleted from function.gmmktime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142047@lists.php.net to get a copy of this message | ||
Note Submitter: Robert Chapin
----
Behavior seen in PHP 4:
<?php
echo date('Y-m-d H:i:s', time() - intval(date('Z'))).'<br />';
echo date('Y-m-d H:i:s', gmmktime());
?>
Output:
2007-07-03 00:25:51
2007-07-02 12:25:51
The first result is correct. I do not yet know the cause of this problem.