note 115756 added to function.localtime

From: Date: Thu, 18 Sep 2014 08:01:45 +0000
Subject: note 115756 added to function.localtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-200476@lists.php.net to get a copy of this message
its something strange on locatime function, if i test this function with zero parameter print_r(localtime(0)); it returns this Array ( [0] => 0 [1] => 0 [2] => 1 <----- [3] => 1 [4] => 0 [5] => 70 [6] => 4 [7] => 0 [8] => 0 ) that is not the unix epoc but one hour after, it should be Array ( [0] => 0 [1] => 0 [2] => 0 <----- [3] => 1 [4] => 0 [5] => 70 [6] => 4 [7] => 0 [8] => 0 ) ---- Server IP: 72.52.91.14 Probable Submitter: 92.246.110.18 ---- Manual Page -- http://php.net/manual/en/function.localtime.php Edit -- https://master.php.net/note/edit/115756 Del: integrated -- https://master.php.net/note/delete/115756/integrated Del: useless -- https://master.php.net/note/delete/115756/useless Del: bad code -- https://master.php.net/note/delete/115756/bad+code Del: spam -- https://master.php.net/note/delete/115756/spam Del: non-english -- https://master.php.net/note/delete/115756/non-english Del: in docs -- https://master.php.net/note/delete/115756/in+docs Del: other reasons-- https://master.php.net/note/delete/115756 Reject -- https://master.php.net/note/reject/115756 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200476) next »