var milliseconds = 1377750038984 - 1329361285663;
var days = Math.floor( (milliseconds / (1000*60*60*24)) );
AS3/Flash: Difference of dates in milliseconds to days?
-
27-06-2022 - |
Question
How do I get the difference in days between two dates formated as milliseconds. I.E.:
1377750038984 - 1329361285663 = xdays
Many thanks
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow