Timestamp to date
NSTimeInterval _interval = [dateattr doubleValue]; NSDate *date = [NSDate dateWithTimeIntervalSince1970:_interval]; n.date_ = date;