Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: date format


From   "Hans J. Baumgartner" <[email protected]>
To   [email protected]
Subject   st: date format
Date   Mon, 13 Dec 2004 09:50:30 +0100

Dear statalist,

I have got one variable in my data that comes in format “YYYYMM”, i.e. the first four digits correspond to the year and the last two to the month.

How can I translate this format into Stata elapsed date %d (see [U] 27)?

Thanks for any suggestions

Hans

--
Hans J. Baumgartner DIW Berlin
German Institute for Economic Research
Dept. Public Economics
Königin-Luise-Str. 5; 14195 Berlin; Germany
Tel.: +49/30/89789-307
Fax.: +49/30/89789-114
http://www.diw.de
http://www.hansbaumgartner.de

*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index