Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Formatting Dates
From 
 
Oliver Jones <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: Formatting Dates 
Date 
 
Fri, 10 Jun 2011 16:03:30 +0200 
Sorry, maybe I didn't understand your question.
Now I assume it is no problem for you to create the variable containing the age
in months, e.g. by typing
generate currentage_m = newage/30.4
And now you want to format it?
What exactly do mean by that?
Best
Oliver
Am 10.06.2011 15:14, schrieb Anna M. Pees:
How would I do that?  Sorry, so new to this.
I can generate the new variable from the two dates but what do I use to format it?
AMP
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Oliver Jones
Sent: Friday, June 10, 2011 8:10 AM
To: [email protected]
Subject: Re: st: Formatting Dates
Hi,
why don't you create a variable holding the age in months?
Best
Oliver
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
--
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
- -
Bielefeld University
Faculty of Business Administration and Economics
Chair of Econometrics and Statistics
- -
Raum / room:  V9-110
Tel / phone:  +49 (0)521 106 4871
---
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/