note 2921 deleted from function.setcookie by sniper
| From: | sniper@php.net | Date: | Wed, 11 Dec 2002 06:45:33 +0000 |
| Subject: | note 2921 deleted from function.setcookie by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40700@lists.php.net to get a copy of this message | ||
The time value that time() returns is the number of seconds since Jan 1, 1970 GMT. This value will
always be the same no matter what the local timezone is. When evaluating this back to localtime,
then the timezone will take effect. In other words, your code will work just as well for someone in
China as it would for someone in Florida.