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

st: RE: String to date


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: String to date
Date   Wed, 30 Oct 2002 17:14:13 -0000

Ganesh, Saravana
 
> Thank you statalisters. I found an easier way through..
> gen bdate=daily(dob, "dm19y")
> format bdate %td

Fine so long as everyone was born before 2000. 

Nick 
[email protected] 

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