// 获取当前系统时间
let date = NSDate()
let timeFormatter = NSDateFormatter()
timeFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS"
let strNowTime = timeFormatter.stringFromDate(date) as String
// 获取当前系统时间
let date = NSDate()
let timeFormatter = NSDateFormatter()
timeFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS"
let strNowTime = timeFormatter.stringFromDate(date) as String