Name

parse() — NN 2 IE J1 ECMA 1

Synopsis

parse(dateString)

Static method that returns the millisecond equivalent of the date specified as a string in the parameter.

Returned Value

Date in milliseconds.

Parameters

dateString

Any valid string format equivalent to that derived from a Date object. See toString(), toGMTString(), and toLocaleString() methods for sample formats.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.