Swift 3.0 / Convert String to Unix Timestamp

Convert String to Unix Timestamp in Swift version 3.0. let dateFormatter = DateFormatter() dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss" let dateString = "19…