PHP 4.0 Bug #9050: strtotime function work incorrect
| From: | arudnev at isras dot rssi dot ru | Date: | Thu, 01 Feb 2001 15:18:45 +0000 |
| Subject: | PHP 4.0 Bug #9050: strtotime function work incorrect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45524@lists.php.net to get a copy of this message | ||
From: arudnev@isras.rssi.ru
Operating system: SuSE Linux 6.4 (2.4.0 kernel)
PHP version: 4.0.4pl1
PHP Bug Type: Date/time related
Bug description: strtotime function work incorrect
My script get ftp_rawlit from ftp site. For each file I parse returned string and try convert string
representation of date into timestamp:
Oct 13 1999 ->1002991140
Oct 14 1999 ->1003077540
Sep 28 1999 ->1001695140
Sep 29 1999 ->1001781540
Jan 19 2000 ->979923600
Dec 21 12:16 ->1008926160
Aug 30 12:12 ->999159120
What's wrong?
--
Edit Bug report at: http://bugs.php.net/?id=9050&edit=1