1

While programming an iPhone application, how can I find the timezone of any city / country?

Chris Klepeis
  • 9,783
  • 16
  • 83
  • 149
hardkcybage
  • 49
  • 1
  • 4

3 Answers3

0

Simple Offline Library :

In order to find the time zone for a location you can use such as the Google Maps API’s time zone API. Unfortunately this requires you to query a remote service and you are subject to their limits.

Here’s a library rom Alterplay called APTimeZones(Git is attached) that allows you to extract an NSTimeZone from a given location without the need to connect to a remote service. APTimeZones works by querying a local listing of time zones (included with the library).

Shahid Aslam
  • 2,585
  • 3
  • 24
  • 31
0

Please look at TimeZone

that might help you

Community
  • 1
  • 1
Satyam
  • 15,493
  • 31
  • 131
  • 244
0

Look at geonames. It has a comprehensive web service, including time zone services.

ryyst
  • 9,563
  • 18
  • 70
  • 97