Changing the format of a date.

wxdqz

New Member
Hello,

I have found a javascript on the internet that lets a user choose a date from a graphical pop-up calendar which formats the date like this: "04-Jun-2001". I need to change that to a format that mysql can recognize like this: "20000604" (yyyymmdd). Does anyone know how to do that?
 
Back
Top