Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Show formats in -display-?


From   "Danielle H. Ferry" <[email protected]>
To   [email protected]
Subject   Re: st: Re: Show formats in -display-?
Date   Mon, 3 Apr 2006 15:06:28 -0400

Sorry. This doesn't appear to work, however:
di "`maxTime'" %tm

--
National Bureau of Economic Research <http://www.nber.org>


---------- Original Message -----------
From: "Michael Blasnik" <[email protected]>
To: <[email protected]>
Sent: Mon, 03 Apr 2006 14:51:59 -0400
Subject: st: Re: Show formats in -display-?

> Please try the built-in help before asking the list.  -help display- 
> will show you how to specify formats
> 
> ----- Original Message ----- 
> From: "Danielle H. Ferry" <[email protected]>
> To: <[email protected]>
> Sent: Monday, April 03, 2006 2:40 PM
> Subject: st: Show formats in -display-?
> 
> > Hi,
> > 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?
> >
> > Danielle Ferry
> >
> > --
> > National Bureau of Economic Research <http://www.nber.org>
> 
> *
> *   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/
------- End of Original Message -------


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