Programmers start counting from 0. So months are represented by 0(Jan)-11(Dec).
The reason days don’t follow this rule is to not confuse authors with 30/31 month differences.
month
Integer value representing the month, beginning with 0 for January to
11 for December.