I use timeZoneWithName, but I don't know names of timezones. Where can I find a list of timezones?
[NSTimeZone timeZoneWithName:@"US/Eastern"];
There is one timezone that is completely uninhabited: the UTC-12:00. It covers only two islands: Baker Island and Howland Island that are both uninhabited (owned by US).
The world is divided into 24 time zones. The course of one day is broken down to the seconds and calculated to define the correct time of a particular place. However, it is not that easy. The 24 time zones, created in accordance to each hour of the day, are theoretically drawn vertically like longitudes over the globe.
I found solution.
NSLog(@"%@", [NSTimeZone knownTimeZoneNames]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With