note 2921 modified in setcookie by ronabop

From: Date: Sat, 26 Aug 2000 05:36:56 +0000
Subject: note 2921 modified in setcookie by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3336@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. http://www.php.net/manual/function.setcookie.php

« previous php.notes (#3336) next »