Documentation
IPS_SetEventCyclicDateBounds
boolean IPS_SetEventCyclicDateBounds (int $EventID, float $FromDate, float $ToDate)
Parameters
EventID | ID of the cyclic event to be changed |
FromDate | Date as a Unix timestamp |
ToDate | Date as a Unix timestamp |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
This command is deprecated since IP-Symcon 3.1. It is merely emulated to grant downwards compatibility. Please use the commands IPS_SetEventCyclicDateFrom and IPS_SetEventCyclicDateTo instead.
This command defines the start and end date for a cyclic event.
The date must be passed as a Unix timestamp. ([Wikipedia:Unix Time](http://de.wikipedia.org/wiki/Unix Time))
If a parameter is 0, no start and/or end date are set.
Example
//Assign no start/ end date to the event.
IPS_SetEventCyclicDateBounds($EventID, 0, 0);