![]() |
CFAbsoluteTimeGetDifferenceAsGregorianUnits |
||||
Header: | CFDate.h | Carbon status: | Supported | |
Computes the time difference between the two specified absolute times and returns the result as an interval in Gregorian units.
CFGregorianUnits CFAbsoluteTimeGetDifferenceAsGregorianUnits ( CFAbsoluteTime at1, CFAbsoluteTime at2, CFTimeZoneRef tz, CFOptionFlags unitFlags );
The first absolute time.
The second absolute time.
The CFTimeZone object to use for time correction. Pass NULL for GMT.
Flags indicating which Gregorian unit fields to use when converting the absolute time difference into a Gregorian interval. See Gregorian Unit Flags for a list of legal values.
The difference between the specified absolute times.0
Supported in Carbon. Available in CarbonLib 1.1 and later when CoreFoundationLib 1.1 or later is installed. Exported by CarbonLib 1.1 and later and by CoreFoundationLib 1.1 and later.