For my new code that I'm developing, I have a text box where a user will type in a date as follows:
MM/DD/YYYY (e.g. 05/19/2011)
This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this a bit though and have been having trouble getting it to register on the database. Any idea on how best to format this field and insert it into the DB?