Getsecondsnum - Crestron SIMPL+ Reference Manual

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

Advertisement

Software
®
250
SIMPL+

GETSECONDSNUM

Name:
GetSecondsNum
Syntax:
INTEGER GetSecondsNum();
Description:
Returns an integer corresponding to the number of seconds in the current time.
Parameters:
None.
Return Value:
The number of seconds from 0 to 59.
Example:
INTEGER NumSeconds;
FUNCTION MAIN()
{
NumSeconds = GetSecondsNum();
PRINT("The Number of seconds on the clock is %d\n",
NumSeconds);
}
An example output of this would be "The Number of seconds on the clock is 25".
Version:
SIMPL+ Version 1.00
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents