0

How to calculate hours in Js

How to calculate hours between two dates. Eg. 04-09-2019 05:00PM To 05-09-2018 09:AM. What will be the formula for this.

4th Sep 2019, 1:17 PM
Noor
Noor - avatar
1 Odpowiedź
+ 1
Just try and make your own function, if it doesn't work THEN post so we can tell you where the problem is. Seriously, people should learn to use search engines.
4th Sep 2019, 1:32 PM
Aymane Boukrouh
Aymane Boukrouh - avatar