DATE$ returns a ten character string including the day, month and year separated by dashes. It may be used both as a statement and a variable.
10 DATE$ = "5/12/86" 20 PRINT DATE$
The ten character string returned by DATE$ is in the format MM-DD-YYYY. As in the example, when DATE$ is used as a variable leading zeros may be omitted and the year defaulted to 19yy.
DATE$ will accept / or : or - delimiters to set the date, but will always print the date using -.