DATE$ is a read-only system variable which gives the date in a string format "yyyy/mm/dd", e.g. "2012/07/26".
DTREAD goes with this system variable;
DTREAD(DATE$),variableY,variableM,variableD will set the three variables to the current year, month, and day-of-month.
See also TIME$ (System Variable).