EasyManua.ls Logo

Crestron SIMPL+ - GETMONTHNUM 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 249
GETMONTHNUM
Name:
GetMonthNum
Syntax:
INTEGER GetMonthNum();
Description:
Returns an integer corresponding to the current month of the year.
Parameters:
None.
Return Value:
The month of the year as an integer from 1 to 12.
Example:
INTEGER NumMonth;
FUNCTION MAIN()
{
NumMonth = GetMonthNum();
PRINT(“The current month of the year is %d\n”, NumMonth);
}
An example output of this would be “The current month of the year is 9”.
Version:
SIMPL+ Version 1.00

Table of Contents