note 102028 deleted from function.date-default-timezone-set by danbrown
| From: | danbrown@php.net | Date: | Mon, 24 Jan 2011 14:04:39 +0000 |
| Subject: | note 102028 deleted from function.date-default-timezone-set by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176241@lists.php.net to get a copy of this message | ||
Note Submitter: buddhaflow at yahoo dot com
----
It's worth noting that date_default_timezone_set DOES NOT effect the output of both time() and
date('U'). For whatever reason, these ignore the time zone. I believe that you have to use
print_r(getdate()), and then manually create the unix_time out of this.