Nathan Fritz wrote:
We're running into the same problem. It was quite convenient to use
date("Y-m-d",strtotime($dateField)) to process date data for MySQL. Worked
fine for my news management system, since I work with current dates, but my
colleague is using it for an application submission system, and needs
birthdates and such from before 1970.

Are there other functions that can do the same kind of textual date
conversions?
Is your colleague running on Windows?
I came across this problem today and scripts running fine on Linux and FreeBSD failed on Windows when feeding dates pre-1970 to strtotime().

I then found this post among PHP's bug reports:
http://bugs.php.net/bug.php?id=14313

Regards
Joakim Andersson



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to