NSDates represent a point in time from 01/01/2000 00:00 UTC. Thus, all these dates have time components. -compare:compares date and time.
, , 06.06. 00:00 9/6/2011 00:00. , , , 6/6/2011 00:00 . -
NSComparisonResult compareStart = [date1 compare: selectedDate];
NSComparisonResult compareEnd = [date2 compare: selectedDate];
if ((compareStart == NSOrderedAscending) || (compareStart == NSOrderedSame)
&& (compareEnd == NSOrderedDescending))
{
}