I want to generate a new NSDate with 0 hours, 0 minutes, and 0 seconds for time. The source date can be any r
NSDate
I know its late, but there are now better methods: why dont you just use
Swift 2
NSCalendar.currentCalendar().dateBySettingHour(0, minute: 0, second: 0, ofDate: yourDateToZeroOutTime, options: [])
Swift 3 would be something without the NS prefix ;)