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

st: date format


From   "Terra Curtis" <terra.curtis@cambridgefinance.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: date format
Date   Tue, 20 Sep 2005 11:24:09 -0400

Dear Statalist,

I have a variable of type %dN/D/Y.  Some of the dates are in years
2000-2005.  When I sort by this variable, Stata seems to recognize some of
the 2000-2005 dates as 1900-1905, hence putting them as the earliest date
rather than the most recent.  Any ideas as to how to get Stata to recognize
01/01/05 as a 2005 date rather than 1905?

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