标签:
//获取当前日期 NSDate* date = [NSDate date]; NSDateFormatter* dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"HH:mm"]; NSString* dateStr = [dateFormat stringFromDate:date]; NSLog(@"当前时间%@",dateStr);
标签:
原文地址:http://www.cnblogs.com/aixixi/p/5159413.html