Date.parse

Parses a string containing a date, and returns the number of milliseconds between that date and the Unix epoch (January 1, 1970, 00:00:00 UTC).

Syntax

parse(value)

Parameters

Return value

A number or NaN if the string is not in a valid format.