#19744 [NEW]: strtotime and mktime fails before 1970

From: Date: Thu, 03 Oct 2002 22:21:54 +0000
Subject: #19744 [NEW]: strtotime and mktime fails before 1970
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21413@lists.php.net to get a copy of this message
From: mads-nospam-@westermann.dk Operating system: Redhat 7.3 PHP version: 4.2.3 PHP Bug Type: Feature/Change Request Bug description: strtotime and mktime fails before 1970 the code: <?php print strtotime('1960-12-05') ."<br>"; print mktime(0,0,0,12,5,1960); ?> prints: -1 -1 There doesn't seem to be a problem after 1970 -- Edit bug report at http://bugs.php.net/?id=19744&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19744&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19744&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19744&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19744&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19744&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19744&r=support Expected behavior: http://bugs.php.net/fix.php?id=19744&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19744&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19744&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19744&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19744&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19744&r=dst

« previous php.bugs (#21413) next »