I create the date like this, with a timestamp retrieved from firebase:
let da = new Date(item.date.day);
I have verified that item.date.day is a timestamp, and the correct timestamp.
However, it always creates the date:
Sun Jan 18 1970 03:53:45 GMT-0500 (EST)
No matter what the timestamp is. I have checked the timestamps here, here they are:
1500825600
1499097600
1500134400
1501084800
They are all dates in July as they should be (these are the values for item.date.day).
Extremely bizarre. Any help is much needed and appreciated.
Dateexpected milliseconds.new Date(1500825600*1000)=>Sun Jul 23 2017 09:00:00 GMT-0700 (PDT)