Re: [PHP] date formatting
- From: lonewolf@xxxxxxxxx (Wolf)
- Date: Wed, 29 Aug 2007 17:14:50 -0400
Just have your input form get it in sections, then piece it all together when dumping it to MySQL
This way you can transparent the code on the front to users, but have it in the right format in the backend.
---- Mike Ryan <miker@xxxxxxxxxxxxxx> wrote:
I would like to have my users input the date formate as mm-dd-yyyy mysql.
wants the data to come down as yyyy-mm-dd.
The question I have is how do I convert from the mm-dd-yyyy to yyyy-mm-dd so
that I can write it out to the database?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Prev by Date: date formatting
- Next by Date: [PHP] Re: About Session And Cookies
- Previous by thread: date formatting
- Next by thread: Re: [WD]: PHP Question - any help is appreciated
- Index(es):