note 106442 deleted from function.strtotime by derick

From: Date: Sun, 14 Dec 2014 11:22:57 +0000
Subject: note 106442 deleted from function.strtotime by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-201148@lists.php.net to get a copy of this message
Note Submitter: jdiamond at taoti dot com ---- 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

« previous php.notes (#201148) next »