EasyManua.ls Logo

Crestron SIMPL+ - Day 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...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 243
Day
Name:
Day
Syntax:
STRING Day();
Description:
Returns the day of the week as a STRING.
Parameters:
None.
Return Value:
The day of the week is returned in a string. Valid returns are Sunday, Monday,
Tuesday, Wednesday, Thursday, Friday, or Saturday.
Example:
STRING TheDay$[100];
FUNCTION MAIN()
{
TheDay$=DAY();
PRINT(“The day of the week is %s\n”, TheDay$);
}
An example output of this would be “The day of the week is Monday”.
Version:
SIMPL+ Version 1.00

Table of Contents