Fixed issue with setDate where month was always the next month not the c...

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