Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
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
Software
®
SIMPL+
243