I am trying to convert the following string into an NSDate object:
NSString *str=@\"25 May 2012 10:25:00\";
NSDateFormatter *dateFormatter = [[[NSDateFormat
When you see an [NSDate description] printed in the console, it is always the corresponding time in GMT. If you use the same date formatter to convert the date back to a string, it should be in the specified time zone.
An [NSDate description] is what you see if you type
po date
or
po [date description]
or you use NSLog to send either one of these forms to the console.
if you are looking for India Timezone you should use: