I see K Garrad gave a formula, but admit that I can't understand the need for one.
As mentioned, only 12 months in a year, and if you know the names of those and can add or take away numbers up to 10, oh go on, up to 12, nothing else is required - is it?
Maybe I'm thinking in too simple terms