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
Check out Moment.js. It is a modern and powerful library that makes up for JavaScript's woeful Date functions (or lack thereof).