How can I get actual month number if I have month of quarter and quarter number ?

Like I have 2nd month of Qtr and Qtr =3, so actual month = 11