3 lines
228 B
Objective-C
3 lines
228 B
Objective-C
NSLog(@"%@", [NSDate date]);
|
|
NSLog(@"%@", [[NSDate date] descriptionWithCalendarFormat:@"%Y-%m-%d" timeZone:nil locale:nil]);
|
|
NSLog(@"%@", [[NSDate date] descriptionWithCalendarFormat:@"%A, %B %d, %Y" timeZone:nil locale:nil]);
|