note 28876 added to function.date

From: Date: Sun, 26 Jan 2003 21:17:51 +0000
Subject: note 28876 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-42782@lists.php.net to get a copy of this message
Be careful when using command date with the instruction [timestamp] it is submitted in Greenwich format. Thus if you will transfer time between several time zones it will correspond to time in the given time zone. As an example try: date ('d-m-Y H:i:s', 0); it will return 01-01-1970 02:00:00 or something like that depending on your timezone. -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+28876 http://master.php.net/manage/user-notes.php?action=delete+28876 http://master.php.net/manage/user-notes.php?action=reject+28876

« previous php.notes (#42782) next »