JavaScript counts months from 0 to 11.
Specifying a day higher than max, will not result in a error but add the overflow to the next month: