摘要: 取当前时间的秒数 NSTimeInterval time = [[NSDate date] timeIntervalSince1970];long long int date = (long long int)time;NSLog(@”date\n%d”, date); //1295322949// 阅读全文
posted @ 2016-05-18 13:18 nenhallwu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 用于uidate,picker。。 +(NSDate*) convertDateFromString:(NSString*)uiDate{ NSDateFormatter *formatter = [[NSDateFormatter alloc] init] ; [formatter setDate 阅读全文
posted @ 2016-05-18 13:01 nenhallwu 阅读(267) 评论(0) 推荐(0) 编辑