Calendar returns wrong month [duplicate]

Months are indexed from 0 not 1 so 10 is November and 11 will be December.


They start from 0 - check the docs