1# jzhyue
Try to use
the global macros where the system date and time are stored.
http://www.stata.com/support/faqs/data/dateandtime.html
例子:
. display "$S_DATE"
11 Jan 2011
.
. display "$S_TIME"
11:52:43
.
. display "$S_TIME $S_DATE"
11:52:43 11 Jan 2011