Calling convention: CIP_UnixToDateTime(AValue: Int64, ReturnUTC: Boolean): DateTime
Description: Converts a Unix timestamp in seconds to a DateTime value.
Parameters:
AValue = Number of seconds since 1970-01-01 00:00:00 UTC.
ReturnUTC = True to return UTC; False to return local time.
Returns: DateTime: converted date and time; NULL if either parameter is NULL.
Availability: Default.
Example:
Result := CIP_UnixToDateTime(1679057842, False);