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

Re: st: Re: display time (day and hour)


From   Jean-Benoit Hardouin <[email protected]>
To   [email protected]
Subject   Re: st: Re: display time (day and hour)
Date   Fri, 13 Jan 2006 10:03:03 +0100

See the FAQ
http://www.stata.com/support/faqs/data/dateandtime.html
Jean-Benoit

Friedrich Huebler a �crit :

Hans,

You can do this with the c(current_date) and c(current_time) system
values.

forvalues i = 1/10 {
di `i'
di c(current_date)
di c(current_time)
}

Friedrich Huebler

--- "Hans J. Baumgartner" <[email protected]> wrote:


I programmed up a routine that takes several days. To gauge how
long it lasts until finished I would like to display the day
and hour, when a new loop starts.


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com *
* 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/



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