Skip to content

SYSTEM-TIME

FUNCTION

This Script-IV variable returns the system time in the format HH:MM:SS.

SYNTAX

SYSTEM-TIME

NOTES

  • The Script-IV variable SYSTEM-TIME returns the system time in the format HH:MM:SS. HH specifies the hour, MM specifies the minute, and SS specifies the second.
  • SYSTEM-TIME is based on a 24-hour system, where 00:00:00 represents midnight, 12:00:00 represents noon, and 13:00:00 represents 1:00 P.M.
  • The system time is maintained by the operating system and updated automatically.

EXAMPLES

PRINT @(0,0), "Date: ", SYSTEM-DATE, @(0,1), "Time: ", SYSTEM-TIME

SEE ALSO

SET

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