Return to Snippet

Revision: 47014
at May 30, 2011 05:59 by tbass134


Initial Code
NSDateFormatter *newFormatter = [[[NSDateFormatter alloc] init] autorelease];
[newFormatter setDateStyle:NSDateFormatterShortStyle];
[newFormatter setTimeStyle:NSDateFormatterMediumStyle];
NSString *dateString = [newFormatter stringFromDate:self.dp.date];

Initial URL

                                

Initial Description

                                

Initial Title
Convert UIDatePicker date to readable date

Initial Tags

                                

Initial Language
Objective C