SetFunctionPeriod
SetFunctionPeriod(FuncName AS STRING, State AS STRING, DateStart AS TIME, DateEnd AS TIME) AS BOOL
Allows programming a period for the function <FuncName> with the state <State> for the interval time <DateStart> to <DateEnd>.
To remove all the periods of the function, put an empty string for the state.
Returns TRUE if no error.