Unfortunately, NSDate doesn’t have a “round” selector like roundToNearestQuarterHour. But it does have NSDateComponents available. Just a couple lines of code using that handy class, and I can get the desired result: a date in Cocoa, rounded to the nearest 15 minutes. Just add the code below to the nearest NSDate category.