note 38772 added to function.strtotime

From: Date: Tue, 06 Jan 2004 20:27:29 +0000
Subject: note 38772 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-63016@lists.php.net to get a copy of this message
this function treat the time string as the localtime and transfer it into a UNIX timestamp which is in UTC. For example, if the server is in CA, strtotime("1970/1/1 0:0:0") gives 28800. This is a very tricky coveat, because your clients may be all over the world. The conversion can render useless timestamps unless all input time string are from the same time zone. Even so the values are still incorrect unless the time zone happens to be in 0+ UTC. ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38772 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38772&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38772&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63016) next »