I have my time since epoch stored as a number: 1444749469000. However, when I try to convert it to a Date object, using Date(1444749469000)
, it just gives me the current date instead of the one it should be (around Tue Oct 13 2015).
> Date(1444749469000)
"Tue Apr 12 2016 09:28:30 GMT-0700 (PDT)"