Description: Deletes Event_Logs rows whose Log_Time is on or before the current date minus the specified number of days.
Calling convention: CIP_ClearEventLogUntilDays(Days: Integer)
Parameters:
Days: number of days to retain relative to today; the cutoff is calculated as a whole Delphi date value.
Returns: Undefined. NULL sets the result to NULL; database errors are silently swallowed by the implementation.
Availability: Default with write access to the current database Event_Logs table; destructive.
Example:
CIP_ClearEventLogUntilDays(90);