I’ve got data that comes in ASCII format and I use the insheet command
to read it.
One variable indicates calendar time. That is “21.01.2002” indicates the
21st January 2002.
Unfortunately -insheet- stores the variable as string.
How can I transform this information into %dD_m_Y, so that I can make
easy calculations, like what happens in, say, five days? (gen
newvar=timevar+5)
Thanks for helping me on this.
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