how to convert epoch time to normal time swift code example
Example: swift string time to epoch
let date = NSDate() // current date
let unixtime = date.timeIntervalSince1970
let date = NSDate() // current date
let unixtime = date.timeIntervalSince1970