EasyManua.ls Logo

Crestron SIMPL+ - TIME Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
256 z SIMPL+
®
Language Reference Guide - DOC. 5797G
TIME
Name:
Time
Syntax:
STRING TIME();
Description:
Returns a string containing the current system time.
Parameters:
None.
Return Value:
The return string contains the time in HH:MM:SS format, in 24-hour time. If a value
is not two digits wide, it is padded with leading zeros.
Example:
STRING TheTime$[100];
FUNCTION MAIN()
{
TheTime$=TIME();
PRINT(“The Time is %s\n”, TheTime$);
}
An example output from this would be “The Time is 14:25:32”.
Version:
SIMPL+ Version 1.00

Table of Contents