現在の日付と時刻を表示する必要があります。
利用した ;
NSDate *currentDateNTime = [NSDate date];
現在の日付と時刻が欲しい(GMT時刻ではなくシステム時刻を表示する必要があります)。出力は、NSDate
ではなくフォーマットである必要がありますNSString
。
例えば;
NSDate *currentDateNTime = [NSDate date];
// Do the processing....
NSDate *nowDateAndTime = .....; // Output should be a NSDate and not a NSString