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

st: Years to dates


From   "Terra Curtis" <terra.curtis@cambridgefinance.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Years to dates
Date   Tue, 20 Sep 2005 14:13:27 -0400

Dear Statalist,

I have a two variables of type %ty (for example, 1998).  I wish to change
variable1 to 01/01/1998 and variable2 to 12/31/1998.  Is there an easy way
of doing this?

Thanks,
Terra

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index