Hi,

I have a question of calculating the number of years in Stata.

In the data, each ID has an Issue_Date in form '25 Jun 05' or '01 Aug 85'. The baseline date is 201509, and I would like to calculate the years each ID was in business.

For instance, if the Issue_Date is '04 May 96', the years of business would be 13 years.

I think I would have to change the format of the date then do the calculation...

It would be really helpful if I can get advice! Thank you very much.