Is there any JavaScript library that accepts a Java SimpleDateFormat pattern and parses a date / time string in a Date object?
For example, when using "2010-12-20" and "yyyy-MM-dd" function will parse "2010-12-20" and return a JavaScript Date .
I noticed that jQuery UI Date Picker can format and parse a date string, but it does not work with a time string.
Thanks.
source share