Function

CFAbsoluteTimeGetGregorianDate

Converts an absolute time value into a Gregorian date.

Declaration

CFGregorianDate CFAbsoluteTimeGetGregorianDate(CFAbsoluteTime at, CFTimeZoneRef tz);

Parameters

at

The absolute time value to convert.

tz

The time zone to use for time correction. Pass NULL for GMT.

Return Value

The Gregorian date equivalent for at.

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
CFAbsoluteTimeGetWeekOfYear

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

Deprecated
CFGregorianDateGetAbsoluteTime

Converts a Gregorian date value into an absolute time value.

Deprecated
CFGregorianDateIsValid

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

Deprecated