SYSTEM-DATE
FUNCTION
This Script-IV variable returns the system date in the format defined in the Installation Record.
SYNTAX
SYSTEM-DATENOTES
- SYSTEM-DATE is updated automatically, while TERMINAL-DATE, which is independently defined with the SET command, is not.
- The variable SYSTEM-DATE returns the date in the format “DD/MM/YY”, “MM/DD/YY”, or “YY/MM/DD”, depending on the format defined in the Installation Record. DD specifies the day, MM specifies the month, and YY specifies the year.
EXAMPLES
PRINT @(0,0), "Date: ", SYSTEM-DATE, @(0,1), "Time: ", SYSTEM-TIMESEE ALSO
SET, TERMINAL-DATE in Script-IV Language, the DAY variable in the Thoroughbred Basic Language Reference
From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF