/ Published in: Objective C
Expand |
Embed | Plain Text
// The date in your source timezone (eg. EST) NSInteger sourceGMTOffset = [sourceTimeZone secondsFromGMTForDate:sourceDate]; NSInteger destinationGMTOffset = [destinationTimeZone secondsFromGMTForDate:sourceDate]; NSTimeInterval interval = destinationGMTOffset - sourceGMTOffset;
You need to login to post a comment.
