NSDateCategoryForReporting
NSDateCategoryForReporting copied to clipboard
First day and last day of NSDate
This would be useful: returning a NSDate specifying the first day/hour/second of a NSDate. And also the last day of the same month of a NSDate.
So if you have an NSDate at 2013-05-06, there would be functions for returning a new NSDate at 2013-05-01, and one at 2013-05-31.