Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
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