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

st: convert "yyyymmdd" string date variable into numerical?


From   FF NN <[email protected]>
To   [email protected]
Subject   st: convert "yyyymmdd" string date variable into numerical?
Date   Wed, 1 Oct 2003 10:43:56 -0700 (PDT)

Dear statalists,
I should have elaborated my problem in more details. I
know there's a date() function. But my variable is in
the "yyyymmdd" string form, without any seperating
simpols between year, month and date, so date() will
produce all missing variables if ever convert.
So should I try to convert this into a numerical
variable and then manipulate in a complex way to
extract the correct date information?
Thank you so much.

Best,
FF NN


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
*
*   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