iOS Get timestamp without hours and minutes and seconds <pre><code> NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"dd/MM/yyyy"]; NSString *theDate = [dateFormat stringFromDate:date]; time_t unixTime = (time_t) [date timeIntervalSince1970]; </code></pre> <p>i need unixTime without hours, minutes and seconds</p>