note 80937 deleted from function.date-default-timezone-set by derick
| From: | derick@php.net | Date: | Tue, 13 May 2008 20:07:49 +0000 |
| Subject: | note 80937 deleted from function.date-default-timezone-set by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139343@lists.php.net to get a copy of this message | ||
Note Submitter: dan a+t vespernet.co.uk
----
Formatting a date string to unix timestamp through strtotime() will result in a date that completely
ingnores the set timezone. If you're pulling mysql dates from database then use the
unix_timestamp() function within the query and you won't have any problems.