2013-01-24 104 views

回答

1
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; 

     [dateFormatter setDateFormat:@"hh:mm a"]; 

     NSDate *date = [dateFormatter dateFromString:@"10:00 AM"]; 
相關問題