####Date.parse(date)
Enhanced version of JavaScript’s native Date.parse()
If ‘date’ is a date in either ISO 8601, Microsoft’s date format,
or in any format the browser’s Date.parse() implementation supports, a Date value (integer) is returned (which can be turned into a date using the Date()constructor), otherwise NaN.
// returns a date value using native Date.parse()vardate=Date.parse("Aug 9, 1995");// returns a date value, knows about ISO8601 datesvardate=Date.parse("2011-10-10T14:48:00");// returns a date value, knows about [Microsoft's JSON date format](http://msdn.microsoft.com/en-us/library/bb299886.aspx#intro_to_json_sidebarb)vardate=Date.parse("\/Date(628318530718)\/");
####Date.parseISO(date)
If ‘date’ is an ISO 8601 date, a date value is returned, otherwise NaN.
// returns NaN because the date is not ISO8601vardate=Date.parseISO("Aug 9, 1995");// returns a date valuevardate=Date.parseISO("2011-10-10T14:48:00");
####Date.parseMsDate(date)
If ‘date’ is a date in Microsoft’s date format,
a date value is returned, otherwise NaN.
// returns NaN because the date is not in Microsoft formatvardate=Date.parseMsDate("Aug 9, 1995");// returns a date valuevardate=Date.parseMsDate("\/Date(628318530718)\/");