How to represent a day in milliseconds with Node.js

1 Answer

0 votes
// ️                           ms    sec  min  hour
const oneDayInMilliseconds = 1000 * 60 * 60 * 24;
 
console.log(oneDayInMilliseconds);
 
 
 
 
/*
run:
 
86400000
 
*/

 



answered Mar 9, 2022 by avibootz

Related questions

1 answer 135 views
1 answer 131 views
1 answer 128 views
1 answer 158 views
1 answer 103 views
1 answer 118 views
...