标签:
func dateStringFromTimeStamp(let timeStamp: NSString) ->String {
var formatter = NSDateFormatter()
formatter.dateFormat = "yyyy年MM月dd日 HH:MM:ss"
let date = NSDate(timeIntervalSince1970: timeStamp.doubleValue)
return formatter.stringFromDate(date)
}
标签:
原文地址:http://www.cnblogs.com/LusYoHo/p/5511326.html