Function

CFGregorianDateGetAbsoluteTime

Converts a Gregorian date value into an absolute time value.

Declaration

CFAbsoluteTime CFGregorianDateGetAbsoluteTime(CFGregorianDate gdate, CFTimeZoneRef tz);

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.

See Also

Core Foundation Time Utilities Miscellaneous Functions

CFAbsoluteTimeAddGregorianUnits

Adds a time interval, expressed as Gregorian units, to a given absolute time.

Deprecated
CFAbsoluteTimeGetCurrent

Returns the current system absolute time.

CFAbsoluteTimeGetDayOfWeek

Returns an integer representing the day of the week indicated by the specified absolute time.

Deprecated
CFAbsoluteTimeGetDayOfYear

Returns an integer representing the day of the year indicated by the specified absolute time.

Deprecated
CFAbsoluteTimeGetDifferenceAsGregorianUnits

Computes the time difference between two specified absolute times and returns the result as an interval in Gregorian units.

Deprecated
CFAbsoluteTimeGetGregorianDate

Converts an absolute time value into a Gregorian date.

Deprecated
CFAbsoluteTimeGetWeekOfYear

Returns an integer representing the week of the year indicated by the specified absolute time.

Deprecated
CFGregorianDateIsValid

Checks the specified fields of a CFGregorianDate structure for valid values.

Deprecated