Specifications
Commands - 27
DATE$
System Function
SYNTAX: a$ = DATE$(n)
PURPOSE: The DATE$ function is used read the date of the system calendar clock. The system clock keeps time
on a 24 hour basis with a resolution of one second.
REMARKS: The date is returned in two forms depending upon the value of the argument n. When n=0, the
months, days and years are returned. When n=1, the day of the week is returned.
The clock is set by the DATE$ statement.
RELATED: DATE$ statement and TIME$
EXAMPLE: 10 DATE$ = "02-11-91,4"
20 PRINT DATE$(0)
30 PRINT DATE$(1)
02-11-91
04
ERROR: <Data negative> - for n
<Illegal argument> – if n > 1