JavaScript Date.parse()

Date.parse(string) returns milliseconds.

You can use the return value to convert the string to a date object: