Monthly date variable from integers

#1
I have a variable that takes values 1,2,3...39. Each value indicates a month-year. How could I create a date variable in STATA with this information, starting in 2009m10.

Thanks in advance.