Skip to content

TERMINAL-DATE

FUNCTION

This Script-IV variable returns the terminal date in the format defined in the Installation Record.

SYNTAX

TERMINAL-DATE

NOTES

  • TERMINAL-DATE is independently set with the SET command for each task, while SYSTEM-DATE is maintained by the operating system and updated automatically. Setting TERMINAL-DATE does not affect the system date.
  • The variable TERMINAL-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 @(10,11), TERMINAL-DATE

SEE ALSO

SET and SYSTEM-DATE in this manual, DAY variable in the Thoroughbred Basic Language Reference

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF