Convert NSString->NSDate?

后端 未结 1 1415
情深已故
情深已故 2020-12-12 07:37

I need to convert my NSString in the end to an NSDate but I am having problems doing so. How would I achieve the same functionality with this code while making the end resul

相关标签:
1条回答
  • 2020-12-12 08:12
    NSDate *date = [formatter dateFromString:dateString];
    
    0 讨论(0)
提交回复
热议问题