Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: C-class time function


From   "E. Paul Wileyto" <[email protected]>
To   [email protected]
Subject   st: C-class time function
Date   Thu, 03 Jun 2010 08:21:11 -0400

I just tried grabbing the system clock value as:

. di c(current_time)
08:17:11

where the last two digits are seconds.

Can I get milliseconds (or at least hundredths) from this? Is there another function that will give me more precise times?

Thanks

Paul

--
E. Paul Wileyto, Ph.D.
Assistant Professor of Biostatistics
Tobacco Use Research Center
School of Medicine, U. of Pennsylvania
3535 Market Street, Suite 4100
Philadelphia, PA  19104-3309

215-746-7147
Fax: 215-746-7140
[email protected]

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index