Link Search Menu Expand Document

dateval

Explanation Specifies the format of the date string. Returns 0 if the date string cannot be interpreted as a date.
If you do not include the time in the date string, the time will be 0:00:00. If seconds are not included, it will be 0 seconds.
Call format var d = dateval (date string)
Return value Returns a Date object.
Arguments String Date string Specify one of the following formats:
"YY / MM / DD"
"YY / MM / DD HH24: MI"
"YY / MM / DD HH24: MI: SS"
"YYYY / MM / DD"
"YYYY / MM / DD HH24: MI"
"YYYY / MM / DD HH24; MI: SS"
Exception None
Example of use
var d = dateval("2002/2/28");
Related item