I'm trying to draw up some graphs that show a time range up until the present day + 31 days ahead using the following:
The code works if I replace "((date(c(current_date),"DMY")) + 31 )" with what it corresponds to (22709) - but if I try it in my twoway line plot it just gives me:
I don't know how to proceed from here...
Code:
if(date >= 21975 & date <= ((date(c(current_date),"DMY")) + 31 ) ), ///
Code:
unexpected end of file r(612);
Comment