Hello,
It's first time I am using this forum. I have previously converted successfully date of birth (dob) to age; most of the time the dob was string. I have now a dob variable which is of the type "numeric daily date (int)", and the format is as follows 5/15/2009 (for May 15, 2009), 6/8/82 (for June 8, 1982), etc. I have tried to convert this dob to stata date (in string format) before converting to age, but am stuck. Grateful for your help. Thanks. Daya
Related Posts with Converting Date or birth to Age
using outreg merged table in putpdfI have been using putpdf for generating my report. At one point, I use outreg to format/generate a m…
Motivate (new user submitted command for Stata)Motivate is a new command that was added to SSC Code: ssc install motivate If you become frustra…
weighted kappa 95%CI helpWhen calculating 95%CIs: how do I dictate that my data are 8x8 when some ratings have not been used …
Case-control (4:1 matching)For a case control study, i use CCMATCH to generate a matched control on selected variables. Works p…
Find digit(s) in stringI realize that there have been hundreds of questions about extracting digits or numbers from strings…
Subscribe to:
Post Comments (Atom)
0 Response to Converting Date or birth to Age
Post a Comment