Question : swift string time to epoch
Answered by : horned-rattlesnake
let date = NSDate() // current date
let unixtime = date.timeIntervalSince1970
Source : https://riptutorial.com/ios/example/6436/get-unix-epoch-time | Last Update : Fri, 03 Apr 20