Answers for "how to find get the time in javascript"

5

javascript get Time

var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds
Posted by: Guest on June-28-2019
-1

get time js

var date = new Date();
var current_hour = date.getHours();
Posted by: Guest on August-13-2021

Code answers related to "how to find get the time in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language