Posted By

rabc on 10/03/10


Tagged

iphone NSDateFormatter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

bobbym245
cnathan


Date format yyyy-MM-dd


 / Published in: Objective C
 

  1. NSDateFormatter *dateFormat = [[[NSDateFormatter alloc] init] autorelease];
  2. [dateFormat setDateFormat:@"yyyy-MM-dd"];

Report this snippet  

You need to login to post a comment.