parse

Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.

Parameters

s

A date string

MDN Reference