Apart from direct answers to this question, see also on
closely related questions -summdate- from SSC and
FAQ . . . . . . . . . . . . . . . . . . . . . . . Generating the last date
4/05 How can I generate a variable containing the last of
several dates?
http://www.stata.com/support/faqs/data/lastdate.html
Nick
[email protected]
Danielle H. Ferry
> I have a variable, time, which is formatted as %tm. I want to
> find the most
> recent date for which I have data, save that date in a local
> macro, and
> display that time before I do some stuff. However, if I say
> something this:
>
> di "`maxTime'"
>
> ... then I see the Stata elapsed time rather than something
> like 2006m1. How
> can I make it show the formatted time?
*
* 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/