Friday, May 3, 2013

NSTimeZone knownTimeZoneNames example ios


knownTimeZoneNames

Returns an array of strings listing the IDs of all the time zones known to the system.
+ (NSArray *)knownTimeZoneNames
Return Value of [NSTimeZone knownTimeZoneNames]
An array of strings listing the IDs of all the time zones known to the system.
Example of [NSTimeZone knownTimeZoneNames]
NSArray *zones = [NSTimeZone knownTimeZoneNames];
[NSTimeZone timeZoneWithName:@"Asia/Tokyo"];