note 80937 added to function.date-default-timezone-set

From: Date: Thu, 07 Feb 2008 16:49:43 +0000
Subject: note 80937 added to function.date-default-timezone-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-135873@lists.php.net to get a copy of this message
Formatting a date string to unix timestamp through strtotime() will result in a date that completely ingnores the set timezone. If you're pulling mysql dates from database then use the unix_timestamp() function within the query and you won't have any problems. ---- Server IP: 87.124.64.96 Probable Submitter: 77.98.240.123 ---- Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php Edit -- https://master.php.net/note/edit/80937 Del: integrated -- https://master.php.net/note/delete/80937/integrated Del: useless -- https://master.php.net/note/delete/80937/useless Del: bad code -- https://master.php.net/note/delete/80937/bad+code Del: spam -- https://master.php.net/note/delete/80937/spam Del: non-english -- https://master.php.net/note/delete/80937/non-english Del: in docs -- https://master.php.net/note/delete/80937/in+docs Del: other reasons-- https://master.php.net/note/delete/80937 Reject -- https://master.php.net/note/reject/80937 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135873) next »