views:

51

answers:

1

How do I format a date to produce the following output on the iPhone?

2010-09-24 13:00:00 -0700
+3  A: 

Do you mean this code:

NSDate *date = [NSDate date]; 
NSLog(@"%@", date);
vodkhang