2010-08-25 16 views

Répondre

1

Voir la doc pour NSDateFormatter

à peu près comme suit:

NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; 
[dateFormatter setDateFormat: @"DATE FORMAT HERE !!!"]; 
NSDate *date = [dateFormatter dateFromString: @"DATE TEXT STRING"];