Swift常用函数

2017-09-19  本文已影响0人  林小姐的那片海

获取时间戳
let date = NSDate()
let timeInterval = date.timeIntervalSince1970 * 1000

上一篇 下一篇

猜你喜欢

热点阅读