This should do what you need with the current locale
double unixTimeStamp =1304245000; NSTimeInterval _interval=unixTimeStamp; NSDate *date = [NSDate dateWithTimeIntervalSince1970:_interval]; NSDateFormatter *formatter= [[NSDateFormatter alloc] init]; [formatter setLocale:[NSLocale currentLocale]]; [formatter setDateFormat:@"dd.MM.yyyy"]; NSString *dateString = [formatter stringFromDate:date];
shabbirv
source share