« Back to Product

Documentation

IPS_SetEventCyclicTimeTo

Require: IP-Symcon >= 3.1

 boolean IPS_SetEventCyclicTimeTo (int $EventID, int $Hour, int $Minute, int $Second) 

Parameters

EventID

ID of the cyclic event to be changed

Hour

End hour (0..23)

Minute

End minute (0..59)

Second

End second (0..59)

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This command defines the end time for a cyclic event. The end time describes the last time of execution.

If the arguments for hour, minute, and second are 0, no end time is set and the last execution is at 23:59:59 at latest.

Example

//No end time for the event
IPS_SetEventCyclicTimeTo($EventID, 0, 0, 0);
Any questions?