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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -