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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -