note 79600 added to function.strtotime

From: Date: Wed, 05 Dec 2007 01:35:31 +0000
Subject: note 79600 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-132832@lists.php.net to get a copy of this message
I get what appear to be incorrect results from <?php //$yr=4-digit year strtotime($yr); ?> a) for $yr from 1960-1999, function returns timestamp of current date/time in $yr b) for other $yr from xx60-xx99, function returns false as expected. c) for $yr from xx00-xx59, function returns current timestamp. ---- Server IP: 69.147.83.197 Probable Submitter: 71.169.26.139 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/79600 Del: integrated -- https://master.php.net/note/delete/79600/integrated Del: useless -- https://master.php.net/note/delete/79600/useless Del: bad code -- https://master.php.net/note/delete/79600/bad+code Del: spam -- https://master.php.net/note/delete/79600/spam Del: non-english -- https://master.php.net/note/delete/79600/non-english Del: in docs -- https://master.php.net/note/delete/79600/in+docs Del: other reasons-- https://master.php.net/note/delete/79600 Reject -- https://master.php.net/note/reject/79600 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132832) next »