Semplicemente getMonth parte da 0, ti basta aggiungere un 1 al valore restituito.