SyntaxFix
Write A Post
Hire A Developer
Questions
Date's constructor expects the timeStamp value to be in milliseconds. Multiply your timestamp's value with 1000, then pass it to the constructor.