ios - How to convert the NSString of format (2015-04-30T21:53:11.0000) to NSDate? in Swift -


this question has answer here:

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

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -