This should be the conversion between NSDate and NSString. You can use this method to convert after getting the date, instead of using this method to get the date
1. First, the NSString passed in must be in a fixed format. 2. Then set NSDateFormatter to follow the same format. 3. Convert to time. If it is still nil... (As if I didn't say it----)
This should be the conversion between NSDate and NSString. You can use this method to convert after getting the date, instead of using this method to get the date
1. First, the NSString passed in must be in a fixed format.
2. Then set NSDateFormatter to follow the same format.
3. Convert to time. If it is still nil... (As if I didn't say it----)