Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Blais, Martin" <blais.martin@uqam.ca> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: generate age variable from year and month of birth and date of the survey |
Date | Wed, 27 Mar 2013 22:55:41 -0400 |
Hello I am not familiar with dates manipulation in Stata. I need to create an age variable based on year and month of birth and = date of the survey. The three variables are : bdaymonth (1-12) bdayyear (yyyy) timestamp (%tc; displaying 21mar2013 18:46:25) Can anyone help? Many thanks, Martin * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/