Date format
| From: | Bomgardner, Mark A | Date: | Mon, 07 Apr 2003 19:19:38 +0000 |
| Subject: | Date format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142737@lists.php.net to get a copy of this message | ||
List people:
I aploogize if this issue has been resolved in the past, but I am new to php
and I could find an answer in the archives.
Problem:
I have a form that a user inputs a date (mm/dd/yyyy) and I want to convert
that to the mysql date yyyy-mm-dd so it can be inputed in to the database.
I have tried the date() command with no luck and I am out of options to try.
I can get the date out of mysql once it gets there, but putting it into the
correct format has been a problem.
Any help would be greatly appreaciated.
Mark Bomgardner
ex-lasso person
new php person