「Objective-C入門」NSDateFormatterの使い方

サンプルコード

NSDateFormatter *dateFormatter = [NSDateFormatter new];
dateFormatter.dateFormat = @"yyyy-MM-dd'T'HH:mm:ss";
NSDate *date = [dateFormatter dateFromString:@"2018-12-05T12:21:37"];

IOS

Posted by arkgame