Crestron simpl plus language ref 사용자 설명서
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.
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