Created
October 12, 2016 04:11
-
-
Save davidwengier/97be7a0168b70fc259ab80ac466bfd1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDate *today = [NSDate date]; | |
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; | |
[dateFormat setDateFormat:@"dd MMM yyyy"]; | |
[dateFormat setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"GMT"]]; | |
NSString *dateString = [dateFormat stringFromDate:today]; | |
[dateFormat release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment