Answers for "parse time in javascript"

3

parse time in javascript

const unixTimeZero = Date.parse('01 Jan 1970 00:00:00 GMT');
const javaScriptRelease = Date.parse('04 Dec 1995 00:12:00 GMT');

console.log(unixTimeZero);
// expected output: 0

console.log(javaScriptRelease);
// expected output: 818035920000
Posted by: Guest on October-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language