Calling convention: CIP_RFC3339ToDate("RFC3339Date": String, ReturnUTC: Boolean): DateTime
Description: Converts an RFC 3339 date-and-time string to a DateTime value.
Parameters:
RFC3339Date = RFC 3339 timestamp, or a date in YYYY-MM-DD format.
ReturnUTC = True to return UTC; False to return local time.
Returns: DateTime: decoded value; NULL if RFC3339Date is NULL. Invalid input raises a conversion error.
Availability: Default.
Example:
Result := CIP_RFC3339ToDate("2025-01-15T18:09:51.178Z", False);
Result := CIP_RFC3339ToDate("2025-01-15T11:29:37+01:00", False);
Result := CIP_RFC3339ToDate("2025-01-15", True);