Template:Month to digit
[edit] Template documentation
Sample use:
{{subst:Month to digit|release d=October 8}}
gives you:
10
Because October is the 10th month!
Note: you have to put subst: in front of the template name (as above) or it won't work!