Bur*_*jua 41 timestamp objective-c
我怎样才能获得时间戳NSNumber?我只需要这样的东西:1232885280
Vla*_*mir 118
NSTimeInterval timeStamp = [[NSDate date] timeIntervalSince1970];
// NSTimeInterval is defined as double
NSNumber *timeStampObj = [NSNumber numberWithDouble: timeStamp];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
38979 次 |
| 最近记录: |