Stata System Parameters

Stata exposes system parameters in the c() class of stored results.


Usage

Use creturn list to view all c() class variables.

c(current_date) and c(current_time) are the system date and time, respectively. They are stored in the formats "dd MMM yyyy" and "hh:mm:ss".

local ts = string(td(`c(current_date)'), "%tdCYND") + "_" + string(tc(`c(current_time)'), "%tcHM")


CategoryRicottone

Stata/SystemParameters (last edited 2023-06-07 19:10:40 by DominicRicottone)