Calling convention: CIP_DateTimeToUnix(AValue: DateTime, AInputIsUTC: Boolean): Int64
Description: Converts a DateTime value to Unix time: the number of seconds since 1970-01-01 00:00:00 UTC.
Parameters:
AValue = DateTime value to convert.
AInputIsUTC = True if AValue is already UTC; False if it is local time.
Returns: Int64: Unix timestamp in seconds; NULL if either parameter is NULL.
Availability: Default.
Example:
Result := CIP_DateTimeToUnix(Now(), False);