Tom wrote:
Is there a way I can force PHP's time functions not to read date strings
in the American MM-DD-YYYY format?

If you read the strtotime() manual page, there is a link to this page: http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html which gives you all of the formats that are accepted. If your format isn't listed, then you're out of luck or modifying source code to the strtotime() function (more than likely).


I am using strtotime and strftime and date at various points (mainlty to
avoid some niggly 0/NULL problems between PHP and mySQL
and datefields).

Give an example of your queries... why are 0/NULL rows causing problems? You should be able to do everything in your query or use TO_UNIXTIME().


--
---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



Reply via email to