您的位置: 首页 > 文章 > 获取系统当前时间并返回距时间纪元的时间 获取系统当前时间并返回距时间纪元的时间 分类: 文章 • 2022-08-03 14:51:31 NSDate *testDate = [NSDate date]; NSLog(@"The time interval is: %f", [testDate timeIntervalSince1970]);