When I want to figure out how many days a month has I recite in my head a poem I learned in grade school:
Thirty days has September
April June and November
all the rest have thirty one
except for February because February is a fucking asshole.
I may be remembering that wrong.