How to check if an NSDate belongs to today?
NSDate
I used to check it using first 10 characters from [aDate description]. [[aDate descriptio
[aDate description]
[[aDate descriptio
This is an offshoot to your question, but if you want to print an NSDate with "Today" or "Yesterday", use the function
- (void)setDoesRelativeDateFormatting:(BOOL)b
for NSDateFormatter