You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Strange. Maybe it's the way you do new Date(Date.now()) rather than just new Date() - I guess it could also be a bracketing thing.

    Also, the values returned for getMonth/etc start from 0 - not 1. So you'd expect this month - the 6th month - to return 5. The fact the days are wrong is very strange though

About

Avatar for Gordon @Gordon started