Skip to content

DateTimeToMac

Convert a TDateTime timestamp to a Mac timestamp

Declaration

Source position: dateutil.inc line 420

  function DateTimeToMac(const AValue: TDateTime) : Int64;

Description

DateTimeToMac converts the TDateTime value AValue to a valid Mac timestamp indication and returns the result.

Errors

None.

See also

Name Description
MacTimeStampToUnix Convert a Mac timestamp to a Unix timestamp
MacToDateTime Convert a Mac timestamp to a TDateTime timestamp
UnixTimeStampToMac Convert Unix Timestamp to a Mac Timestamp