问题
How to find out the current time in different timezone in xcode for an iphone application? Suppose i'm in India and i want to know the current time in USA how do i get the time then.
Thanks in advance Joy
回答1:
See Introduction to Date and Time Programming Guide for Cocoa.
There are built-in methods for handling timezones.
来源:https://stackoverflow.com/questions/2552134/timezone-calculation