Function

CFTimeZoneCopySystem

Returns the time zone currently used by the system.

Declaration

CFTimeZoneRef CFTimeZoneCopySystem(void);

Return Value

A time zone representing the time zone currently used by the system, or the GMT time zone if the current zone cannot be determined. Ownership follows the The Create Rule.

See Also

System and Default Time Zones and Information

CFTimeZoneCopyAbbreviationDictionary

Returns a dictionary holding the mappings of time zone abbreviations to time zone names.

CFTimeZoneCopyAbbreviation

Returns the abbreviation of a time zone at a specified date.

CFTimeZoneCopyDefault

Returns the default time zone set for your application.

CFTimeZoneSetDefault

Sets the default time zone for your application the given time zone.

CFTimeZoneCopyKnownNames

Returns an array of strings containing the names of all the time zones known to the system.

CFTimeZoneResetSystem

Clears the previously determined system time zone, if any.

CFTimeZoneSetAbbreviationDictionary

Sets the abbreviation dictionary to a given dictionary.