Windows does not support dates prior to midnight (00:00:00), January 1, 1970
| From: | Edwin Niemans | Date: | Sun, 01 Jul 2007 16:55:42 +0000 |
| Subject: | Windows does not support dates prior to midnight (00:00:00), January 1, 1970 | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-35859@lists.php.net to get a copy of this message | ||
Webmaster,
There seems to be a world wide problem on sites giving this bug:
Windows does not support dates prior to midnight (00:00:00), January 1, 1970
This happens between SQL and PHP.
Some dates are returned from sql with the value -1
04-05-2007 / 18-05-2007 Returns value -1
02-04-2007 / 30-04-2007 OK
02-03-2007 / 29-03-2007 Returns value -1
07-11-2006 / 27-02-2007 OK
01-10-2006 / 30-10-2006 Returns value -1
01-06-2006 / 30-09-2006 OK
01-05-2006 / 31-05-2006 Returns value -1
Kind Regards,
Edwin Niemans
The Hague
Netherlands