Require: IP-Symcon >= 3.1
boolean IPS_SetEventCyclicDateTo (int $EventID, int $Day, int $Month, int $Year)
ID of the cyclic event to be changed
End day (0, 1..31)
End month (0, 1..12)
End year (0, 1970..2038)
If the command succeeds, it returns TRUE, otherwise FALSE.
This command sets the end date for a cyclic event.
If the arguments for day, month, and year are 0, the event does not have a specific end date and is run indefinitely.
The event is run until the end date, including the end date itself
//Set 1st January 2020 as end date for the event IPS_SetEventCyclicDateTo($EventID, 1, 1, 2020);