How to get list of timezones in iOS, like we get on the time of registration of web apps, like shown in this pic?
Asked
Active
Viewed 2,567 times
1 Answers
9
You just need to write
NSLog(@"%@", [NSTimeZone knownTimeZoneNames]);
and you will get all the TimeZone name and abbreviation of name.

iPatel
- 46,010
- 16
- 115
- 137
-
1Thanks iPatel, but i want in the format which is there in that link (GMT+04:30 Kabul). not like "Africa/Abidjan", – Deepak Oct 22 '13 at 10:47
-
You will have to use the formatting styles (using NSDateFormatter) – Shravya Boggarapu Sep 11 '15 at 10:06
-
1