variable
currently outputs as 2013-02-05T16:30:01Z
How do I use parseDate(), to change how the date is formatted?
variable
currently outputs as 2013-02-05T16:30:01Z
How do I use parseDate(), to change how the date is formatted?
You can use the object Date in order to define the Date.
var d = new Date('2013-02-05T16:30:01Z');
the variable d
is now a Date
object you can process all date methods. And I think that parseDate() is a jQuery UI method ($.datepicker.parseDate
)