Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Software Crestron 
SIMPL+
®
244 
z SIMPL+
®
Language Reference Guide - DOC. 5797G
GETDATENUM
Name:
GetDateNum
Syntax:
INTEGER GetDateNum();
Description:
Returns an integer corresponding to the current day of the month.
Parameters:
None.
Return Value:
The day of the month as an integer from 1 to 31.
Example:
INTEGER NumDateOfMonth;
 
FUNCTION MAIN()
{
NumDateOfMonth = GetDateNum();
PRINT(“The current day of the month is %d\n”, NumDateOfMonth);
}
An example output of this would be “The current day of the month is 25”.
Version:
SIMPL+ Version 1.00