Hi everyone,
how can I get timestamp as NSNumber? I only need something like this: 1232885280
Thanks
Hi everyone,
how can I get timestamp as NSNumber? I only need something like this: 1232885280
Thanks
NSTimeInterval timeStamp = [[NSDate date] timeIntervalSince1970];
// NSTimeInterval is defined as double
NSNumber *timeStampObj = [NSNumber numberWithDouble: timeStamp];