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