SyntaxFix
Write A Post
Hire A Developer
Questions
In case you came here looking for current timestamp
var date = new Date(); var timestamp = date.getTime();
or simply
new Date().getTime(); //console.log(new Date().getTime());