Which macro variable contains the value of current date
-
SYSDATE9
-
DATE10
-
SYSTIME
-
DATE6
A
Correct answer
Explanation
SYSDATE9 is the automatic SAS macro variable that contains the current date. The '9' indicates a 9-character format (like DDMMMYYYY). DATE6, DATE10, and SYSTIME are not valid automatic macro variables for the current date. SYSTIME does not exist as an automatic macro variable, and other DATE variations are not standard.