Tech-support kindly provided this answer to what seems to be likely to be
a widespread need. The information was not obvious from searching the
help system for either "today" or "date".
Date: Tue, 07 Oct 2003 11:52:47 -0500
From: Stata Technical Support <[email protected]>
The commands to use the current system date or time is to type:
. local sysdate = c(current_date)
. local systime = c(current_time)
These functions can be found in the help under "creturn"
---------
Thank you,
Allan
*
* 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/