swift string time to epoch

110

let date = NSDate() // current date
let unixtime = date.timeIntervalSince1970

Comments

Submit
0 Comments