Int -> String
let myInt: Int = 10
var myString = String(myInt)
let myInt: Int = 10
var myString = "\(myInt)"
Int -> String
let myString: String = "10"
let myInt: Int = Int(myString)
Int -> Float
let myInt = 556
let myFloat = Float(myInt)
Date -> String
Date to Timestamp
let timeInterval:TimeInterval = Date().timeIntervalSince1970
let timeStamp = Int(timeInterval)
print("Start时间戳:\(timeStamp)")