DAY
System/Task Date
This system variable returns an 8-byte string containing this task’s current date, in the form MM/DD/YY. The date returned is today’s system date unless changed by the SETDAY directive.
Syntax
Section titled “Syntax”DAYRemarks
Section titled “Remarks”If this task’s current date is set with the SETDAY directive, then the DAY system variable shows that date, even if system time lapses over midnight, until another SETDAY directive is executed or this task is RELEASEd and reSTARTed.
When this task is STARTed, DAY returns the system date and keeps current with the system date (updated day by day) unless this task’s current date is set with the SETDAY directive.
Examples
Section titled “Examples”LET Z$ = DAYOn April 26, 1984, Z$=“04/26/84”.
See also
Section titled “See also”SETDAY directive
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF