lefex / DSA

Data structure + Algorithm
MIT License
72 stars 9 forks source link

Code1:"1965-07-31T00:00:00+0000"时间转换 #40

Open lefex opened 5 years ago

lefex commented 5 years ago

NSDateFormatter *formater = [[NSDateFormatter alloc] init];
formater.dateFormat = @"yyyy-MM-dd'T'HH:mm";
 NSDate *begin = [formater dateFromString:self.startTime];