Fixed issue with setDate where month was always the next month not the current month