摘要:
- (NSString *)getCurrentDate{ NSDateFormatter *formatter =[[[NSDateFormatteralloc] init] autorelease]; NSDate *date = [NSDate date]; [formatter setTimeStyle:NSDateFormatterMediumStyle]; NSCalendar *calendar = [[[NSCalendaralloc] initWithCalendarIdentifier:NSGregorianCalendar] autorelease]; ... 阅读全文