Last active
August 29, 2015 14:16
-
-
Save Air-Craft/1024da4715a45c1ce7c4 to your computer and use it in GitHub Desktop.
Parse a standard date/time string in iOS #cocoa #basic #datetime
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
NSDateFormatter *dateParser = [[NSDateFormatter alloc] init]; | |
dateParser.dateFormat = @"yyyy-MM-d H:m:s"; | |
return [dateParser dateFromString:self.estimatedArrivalDateStr]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment