Add a hidden date format?
2005/03/26 00:15
Viewed 11146 times
Replies: 0/0

Okay, I may have missed this, but I'd like to display the date in one format, but pass it to my database in another format. For example, display the selected date in the input field as "Friday, March 25th, 2005" while passing that date as "2005-03-25" when the form is submitted. I know I can just reformat the date in code before the form passes it to the database, but it would be very elegant if the calendar was capable of just passing the correct format in the first place.

Anyone try this or have a suggestion?

Thanks for any help.

Google