Re: Non American strtotime

From: Date: Fri, 16 Jan 2004 14:53:39 +0000
Subject: Re: Non American strtotime
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-174812@lists.php.net to get a copy of this message
Tom wrote:
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

« previous php.general (#174812) next »