[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
date format YYYYMMDD (was st: p value precision in clogit output)
Hi Dan.
There may be a new trick in Stata 10, but in Stata 9 I use the
user-written -todate-, available from SSC (-ssc install todate-). They
syntax is:
todate old_date, gen(new_date) pattern(yyyymmdd) format(%d)
-Liz
Rodriguez, Dan (Prop) wrote:
Need to convert date format of YYYYMMDD into Stata date format. Does anyone have a short do-file to accomplish this?
Thank you,
Dan
*
* 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/