NSDate.date returns a date with the current date and time stored as GMT.
If you want to format the date as a string and show the time in GMT, you must use NSDateFormatter and set the locale to GMT:
NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"GMT"]]; [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss Z"]; NSString *dateAsString = [formatter stringFromDate:[NSDate date]];
source share