What is the difference between [NSTimeZone localTimeZone]
and [NSTimeZone systemTimeZone]
?
According to the NSTimeZone reference of iOS, the systemTimeZone
represents the timezone used by the system (device) itself.
The localTimeZone
returns an object that represents the current default time zone for the application. The application can change its default timezone via the setDefaultTimeZone
call.
There are no exposed Cocoa APIs to change the system time zone, or to change another application's time zone.
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