Hi I am trying to convert a string into NSDate format - but it returns value with wrong format and also in GMT time.
NSString *myString = @\"10:30 AM\"; N
Don't use NSLog() to display the date as that will format it using the UTC/GMT timezone and its own format; instead use the date formatter to display it:
NSLog()
NSLog(@"myDate---%@", [dateFormatter stringFromDate:myDate]);