Is there a way to get the time offset zone for a given date.
For example, if I am in New York and I pass 12-12-2009 at 16:00, I will return “-4” as we are 4 hours from GMT.
(There is a function in the .NET environment to do this outside the DateTime class. So I think Cocoa is there too?)
Yang
timezone datetime iphone gmt offset
BahaiResearch.com
source share