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

st: date format

From   "Terra Curtis" <>
To   <>
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?


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index