EasyManua.ls Logo

Crestron SIMPL+ - GETYEARNUM 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...
Software Crestron SIMPL+
®
252 z SIMPL+
®
Language Reference Guide - DOC. 5797G
GETYEARNUM
Name:
GetYearNum
Syntax:
INTEGER GetYearNum();
Description:
Returns an integer corresponding to the current year.
Parameters:
None.
Return Value:
The year as an integer. The full year is specified. For example, the year 2000 will
return the integer 2000.
Example:
INTEGER NumYear;
FUNCTION MAIN()
{
NumYear = GetYearNum();
PRINT(“The current year is %d\n”, NumYear);
}
An example output from this would be “The current year is 1999”.
Version:
SIMPL+ Version 1.00

Table of Contents