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

From: Date: Mon, 24 Jan 2011 09:24:18 +0000
Subject: note 102028 added to function.date-default-timezone-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-176235@lists.php.net to get a copy of this message
It's worth noting that date_default_timezone_set DOES NOT effect the output of both time() and date('U'). For whatever reason, these ignore the time zone. I believe that you have to use print_r(getdate()), and then manually create the unix_time out of this. ---- Server IP: 69.147.83.197 Probable Submitter: 122.202.133.20 ---- Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php Edit -- https://master.php.net/note/edit/102028 Del: integrated -- https://master.php.net/note/delete/102028/integrated Del: useless -- https://master.php.net/note/delete/102028/useless Del: bad code -- https://master.php.net/note/delete/102028/bad+code Del: spam -- https://master.php.net/note/delete/102028/spam Del: non-english -- https://master.php.net/note/delete/102028/non-english Del: in docs -- https://master.php.net/note/delete/102028/in+docs Del: other reasons-- https://master.php.net/note/delete/102028 Reject -- https://master.php.net/note/reject/102028 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#176235) next »