System Variables
DAY Return Current System Date
String System Variable
 
Contents String, current system date, formatted.
 
Description The DAY variable contains the current system date (e.g., 11/15/00), in a format based on the date style set in the DAY_FORMAT directive (MM/DD/YY by default). Changes in DAY_FORMAT are reflected in the value returned in the DAY variable.
 
See Also DAY_FORMAT Directive.
 
Examples 0100 PRINT DAY," ",
0110 DAY_FORMAT "DD/MM/YYYY"; PRINT DAY
-:run
11/15/99 15/11/2000