Ernest Berkhout suggested this in response to the reply by Daniel R Sabath
to the question by Juesta:
At 10:58 AM 12/9/2003 +0100, you wrote:
gen date = int(nacimi/10000)
gen year = mod(nacimi/10000)
I believe that you meant, for the second line,
gen year = mod(nacimi, 10000)
-- David
David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/