I am having a NSString object which I am converting to NSDate with help of NSDateFormatter. Now code works fine here with all the OS but it is creating different Output at client's add (USA region).
Here is the code that I am using.
Output at my end -------2010-09-24 17:30:00 - 0700
Output at Client end ----2010-09-25 00:30:00 GMT Can anyone please suggest where's the problem?
The problem with the second output - '2010-09-25 00:30:00 GMT' is that if I do some calculation (adding minutes to NSDate) and converting again to NSDate creates problem, it automatically adds 7 hours to date. The problem is being created at client end only. At my end same logic works perfecly and produces exact result as expected.