What I'm trying to do is have an NSDate with the correct current time. When I convert the date into a string the time is correct, but when I'm converting back to an NSDate, the time is just off.
NSDateFormatter* dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"dd-MM-yyyy HH:mm"];
[dateFormatter setLocale:[NSLocale currentLocale]];
NSString *dateString = [dateFormatter stringFromDate:[NSDate date]];
NSDate* myDate = [dateFormatter dateFromString:dateString];
NSLog(@"datete:%@ and %@", myDate, dateString);
2014-02-22 00:18:00 +0000 and 21-02-2014 16:18