mikina
4/24/2013 - 10:52 AM

Timestamp to date

Timestamp to date

NSTimeInterval _interval = [dateattr doubleValue];
NSDate *date = [NSDate dateWithTimeIntervalSince1970:_interval];

n.date_ = date;