I would like to subtract 4 hours from a date. I read the date string into an NSDate object use the following code:
NSDateFormatter * dateFormatter = [[[NSDat
dateFromString function returns NSDate, not NSString. you should change,
NSDate * theDate = [dateFormatter dateFromString:datetemp];