Hey everyone,

I'm a student who needs help with this particular problem. I have in my Stata dataset a variable that is shown in fractional/decimal form to represent the date of birth of participants. I'm trying to convert them to an appropriate date variable that Stata can recognize, but for the life of me I have no clue on how to do so or where to start. The help file has everything on dates except in this way so I'm hoping to get any help that I can from here.

I have figured out how the decimal form was calculated, but do not know where to go from there, or how to compute this through Stata in the first place. I have been provided with an example, id #1 was born on 71.514 and it corresponds to 7th July 1971. Let us assume the year has 365.25 days, accounting for the leap year every 4 years.

Any help that I can get from this is very much appreciated!