How to represent 1 hour in milliseconds with JavaScript

1 Answer

0 votes
const hourInMilliseconds = 60 * 60 * 1000;

console.log(hourInMilliseconds); 


  
  
  
  
/*
run:
  
3600000
  
*/

 



answered Mar 10, 2022 by avibootz

Related questions

1 answer 135 views
1 answer 137 views
1 answer 128 views
1 answer 144 views
1 answer 461 views
1 answer 134 views
1 answer 168 views
...