sadmicrowave sadmicrowave - 8 months ago 55
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 Source

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