Statalist The Stata Listserver

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

st: Show formats in -display-?

From   "Danielle H. Ferry" <>
Subject   st: Show formats in -display-?
Date   Mon, 3 Apr 2006 14:40:14 -0400

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

*   For searches and help try:

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