sadmicrowave sadmicrowave - 4 days ago 5
Javascript Question

jquery/javascript convert date string to date

I have a date string "Sunday, February 28, 2010" that I would like to convert to a js date object formatted @ MM/DD/YYYY but don't know how. Any suggestions?

Answer

I would grab date.js or else you will need to roll your own formatting function.

Comments