Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get list of timezones in iOS like we get on the time of registration of web apps

How to get list of timezones in iOS, like we get on the time of registration of web apps, like shown in this pic?

like image 683
Deepak Avatar asked Oct 22 '13 10:10

Deepak


1 Answers

You just need to write

NSLog(@"%@", [NSTimeZone knownTimeZoneNames]);

and you will get all the TimeZone name and abbreviation of name.

like image 107
iPatel Avatar answered Sep 28 '22 00:09

iPatel