All i am trying to do, is to get an NSString with the value of the current date ( NOW )
with this format:
7/14/10 8:20 PM
Exactly like the native mail app of the iPhone.
i am using the following code to do it:
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat:@"EEE, dd MMMM yyyy HH:mm:ss ZZ"];
[dateFormat setDateStyle:NSDateFormatterFullStyle];
NSString *dateString = [dateFormat stringFromDate:[NSDate date]];
but the still the result is:
Wednesday, July 14, 2010
Does anyone have any idea of how to get this to just WORK ??
Appreciate your answers..