How can I convert a string to a date time object in javascript by specifying a format string?
I am looking for something like:
var dateTime = convert
Just for an updated answer here, there's a good js lib at http://www.datejs.com/
Datejs is an open source JavaScript Date library for parsing, formatting and processing.