I would like to put a macro variable that would reference Today plus 6 months. In my initial statement I use to change the date manually in my macro and it works fine but now I want to upgrade my macro so that it calculate Today plus 6 months without me changing it manually. My original statement look like this : %let Date6mths=5JAN2018; Then I tried a couple of variation of this code to have this date automatically calculated from the date of production: %let Date6mths="%sysfunc(INTNX(Month,Today(),6,s))"; - with double quote around the %sysfunc - without double quote and with single quote for the parameter within the Intnx function and I also tried this variation : %let Date6mths=INTNX('Month',Today(),6,'s'))"; I use the macro within a Proc SQL Thx you all for your help
... View more