From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.1.1
PHP Bug Type: Date/time related
Bug description: date() fails with negative timestamps
Simple to reproduce, only on windows:
$date = mktime(0,0,0,5,5,1965);
echo date('d-m-Y', $date);
This happens with timestamps before 01/01/1970 that results in a negative
number (like birth dates, for example).
--
Edit bug report at http://bugs.php.net/?id=15455&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15455&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15455&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15455&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15455&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15455&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15455&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15455&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15455&r=submittedtwice
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php