I have this unix timestamp 1514312449, for which new Date(1514312449).toISOString() shows "1970-01-18T12:38:32.449Z". However, it should be "2017-12-26T18:20:49Z". Can anyone explains what could be going on ?
Asked
Active
Viewed 14 times
0
-
`2017-12-26T18:20:49.000Z` – Mark Schultheiss Dec 26 '17 at 19:04
-
https://stackoverflow.com/questions/37001797/unix-timestamp-from-now-outputs-as-1970 – Ilja Everilä Dec 26 '17 at 19:08
-
https://stackoverflow.com/questions/847185/convert-a-unix-timestamp-to-time-in-javascript – Ilja Everilä Dec 26 '17 at 19:08