Day - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents