tags:

views:

16

answers:

1

I'd like to see if two NSDate instances are on the same day.

Using...

[date1 compare:date2] 

...compares them at the hour, minute, and second level.

Is there a cheap way to make the comparison using built-in calls without using things like NSCalendar and NSDateComponents?

A: 

Nevermind, looks like this thread has the answers: http://stackoverflow.com/questions/1854890/comparing-two-nsdates-and-ignoring-the-time-component

David