I have a calendar control which populates a textbox.
The date is in American format e.g "MM/DD/YYYY"
I need to convert this into "YYYY-MM-DD" so that I can insert it into a MYSQL database.

ANy ideas ?

I hate dates


TIA