logo image

How to get current time in milliseconds in Javascript


1 Answer

2 years ago by

Following is the Javascript code to get current time in milliseconds

var millies = Date.now();

Some other ways of getting current time in milliseconds

var millies = new Date().getTime();

var millies = +new Date();
2 years ago by Megamind

We are looking for Interns!
Send your resumes to
[email protected]