I thought it is fairly simple but I am not able to produce yesterday's date automatically. I want to save yesterday's date in a local macro using c(current_date), such as the following which does not work:
Code:
local yesterday = c(current_date)-1 di "`yesterday'"
Comment