You can use datepart function like

select datepart(month,getdate())