func timeFormat(_ tt:Int)->String{
let date = Date.init(timeIntervalSince1970: TimeInterval(tt/1000))
let formatter = DateFormatter()
formatter.dateFormat = "HH:mm:ss"
return formatter.string(from: date)
}
网友评论