Getyearnum - Crestron SIMPL+ Reference Manual

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

Advertisement

Software
®
252
SIMPL+

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

Advertisement

Table of Contents
loading

Table of Contents