formatting dates back to Mysql date format
Hi all.
I have a form that people fill out which allows them to enter a date. Not to much of a problem here, I have them fill out the date as 0000-00-00 (year, month, day) as MySQL relies on...
and this writes to my database successfully.
my problem is on the my "modify page". the user can open a form that calls in all the data they entered and can make changes. The date field that gets called in from MySQL turns the dates back to slashes and in a normal date format (00/00/000).
How can I get .asp classic to format the date to display YYYY-MM-DD OR convert back to MySQl before updating itself?
Thank you.
|