The end user gets to chose their date format, and so if I cannot reverse their arbitrary date format into a timestamp then I have no chance of ensuring that dates are correct.
This seems like a really fundamentally bad thing about PHP :(
Seems like a fundamental flaw in your program. If the user enteres 01/02/03, what date is that? 2003? January? February? 1st or 2nd?
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php