Its syntax is as follows −
Note − Parameters in the bracket are always optional.
datestring − A string representing a date
Number of milliseconds since midnight of January 1, 1970.
Try the following example.
Number of milliseconds from 1970: 1219946400000