/

HTML / CSS / JavaScript Tutorial

JavaScript Date method: parse()

[this page | pdf | back links]

The parse() method (when applied to the JavaScript Date object) Parses a dateString and returns the number of milliseconds since 1 January 1970 00:00:00.

 

It has the following syntax with the following parameters:

 

Date.parse(dateString)

 

Parameter

Required / Optional

Description

dateString

Required

A string representation of a date

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates


Desktop view | Switch to Mobile