How to convert a string into a date in swift -


i parsed code "1442351280" json , and want convert date in swift in medium style.

you have with foundation api

let date = nsdate(timeintervalsince1970: 1442351280) 

Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -