に変換できることを証明しようとする単純なNSStringケースNSDate。を作成しNSDate、それをに変換してNSStringから、に戻しNSDateます。日付は文字列としては問題ないように見えますが、元に戻すと、常に2011年12月25日のような日付が表示されます....誰かが私のエラーを見つけることができますか?
 NSDateFormatter *df = [[NSDateFormatter alloc] init];
 [df setDateFormat:@"dd/MM/YY hh:mm a"];
 NSDate* b = [[NSDate alloc] init];
 NSString* f = [df stringFromDate:b]; // has the current date and time
 NSDate* dt =[df dateFromString:f];  // 12/25/2011 - where does it get this?