I have always used the below macro to determine the previous date and always worked : data _null_; year = year(input("&sysdate9",date9.)); call symput('rptdt', strip(put(date(),YYMMDDN.)-2)); call symput('time', put(time(), time5.)); call symput('year',compress(put(year,best.))); run; but suddenly , SAS is acting weird and I am getting dates as below : it is showing as 20240399, in 90's series and today's date is being displayed as 20240400 Our laptops were updated to windows11 , and this started , I am not sure If I am making a mistake or is this coincidental with windows 11. Please help
... View more