Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (NSDateFormatter *)dateFormatter
- {
- if(!_dateFormatter){
- _dateFormatter = [[NSDateFormatter alloc] init];
- [_dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"];
- [_dateFormatter setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"UTC"]];
- [_dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"]];
- }
- return _dateFormatter;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement