Dear reader,

For the variables monthbnb monthacq monthexit I have monthidentifiers, I would like to change them to year identifiers; 665 for example is 2015.
I can't seem to find the solution whilst i'm expecting that there is a simple solution for my problem.

Could anybody share how to do this?

Kind regards,


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str10 DealNumber float(year monthbnb monthacq monthexit)
"1909264861" 2015 669 665   .
"1909246856" 2015 669 656   .
"1909115585" 2014 658 614   .
"1909468406" 2016 678 659   .
"1909189257" 2015 662 606   .
"1909231444" 2016 679 660   .
"1601223111" 2011 619 610 702
"1601448192" 2013 637 618   .
"1909456176" 2016 679 665   .
"1909479332" 2016 682 674   .
end