I have a user enter a date in a field in this format (mm/dd/yyyy), but when I write it to the database, the date gets all screwed up as it tries to convert it in the yyyy-mm-dd format, I'm trying to create a function that will correct the date entered before it is written to the database so the date entered, and the date in the database are the same, any ideas?
Thanks.