Created
October 13, 2016 13:32
-
-
Save sudeepdk/3d0ded3ca4093d8bea451cf1410cfa65 to your computer and use it in GitHub Desktop.
convert epoch time to date()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Things = | |
[1446380000000 , | |
1446380000000 , | |
1446480000000 , | |
1446510000000 , | |
1446630000000 , | |
1446860000000 , | |
1447030000000 , | |
1447090000000 , | |
1447590000000 , | |
1447600000000 , | |
1447630000000 , | |
1447630000000 , | |
1447630000000 , | |
1447630000000 , | |
1447630000000 , | |
1447630000000 , | |
1447680000000 , | |
1447680000000 , | |
1447840000000 , | |
1447840000000 , | |
1447840000000 , | |
1447840000000 , | |
1447890000000 , | |
1447970000000 , | |
1451070000000 ] | |
for (var i = Things.length - 1; i >= 0; i--) { | |
var date = new Date(Things[i]) | |
console.log(date , Things[i]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment