Calling convention: CIP_DateToISO8601(DateTime: Double, InputIsUTC: Boolean): String
Description: Converts a DateTime value to an ISO 8601 date-and-time string.
Parameters:
DateTime = DateTime value to encode.
InputIsUTC = True if DateTime is already UTC; False if it is local time.
Returns: String: ISO 8601 representation; an empty string if DateTime is NULL.
Availability: Default.
Example:
Result := CIP_DateToISO8601(Now(), False);