Converts a Gregorian date value into an absolute time value.
SDKs
- iOS 2.0–8.0Deprecated
- macOS 10.4–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
Framework
- Core Foundation
Declaration
func CFGregorianDateGetAbsoluteTime(_ gdate: CFGregorian Date, _ tz: CFTime Zone!) -> CFAbsolute Time
Parameters
gdate
The Gregorian date to convert.
tz
The time zone to use for time correction. Pass
NULL
for GMT.
Return Value
The absolute time equivalent of gdate
.