note 106442 added to function.strtotime

From: Date: Wed, 09 Nov 2011 17:34:37 +0000
Subject: note 106442 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-184357@lists.php.net to get a copy of this message
To avoid frustrating confusion I recommend always calling date_default_timezone_set('UTC') before using strtotime(). Because the UNIX Epoch is always in UTC; you will most likely output the wrong time if you do not do this. Cheers ---- Server IP: 69.147.83.197 Probable Submitter: 74.92.130.209 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/106442 Del: integrated -- https://master.php.net/note/delete/106442/integrated Del: useless -- https://master.php.net/note/delete/106442/useless Del: bad code -- https://master.php.net/note/delete/106442/bad+code Del: spam -- https://master.php.net/note/delete/106442/spam Del: non-english -- https://master.php.net/note/delete/106442/non-english Del: in docs -- https://master.php.net/note/delete/106442/in+docs Del: other reasons-- https://master.php.net/note/delete/106442 Reject -- https://master.php.net/note/reject/106442 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184357) next »