ios - How to convert the NSString of format (2015-04-30T21:53:11.0000) to NSDate? in Swift -
this question has answer here:
- converting nsstring nsdate (and again) 16 answers
could please let me know how convert nsstring of format (2015-04-30t21:53:11.0000) nsdate? in swift.
use datefromstring
method in ios' date formatter class.
there zillion examples , explanations google search away. in objective-c, that's easy convert swift.
read this.
Comments
Post a Comment