How do I get the NSDateComponents of a single NSDate? I don\'t want the components of the difference between 2 dates, just the seconds, minutes, hours, day, month and year o
in Swift 2.x the components you want are passed like this.
let gregorianCalendar = NSCalendar(calendarIdentifier: NSCalendarIdentifierGregorian) let weekdayHourMinutes = gregorianCalendar?.components([.Weekday, .Hour, .Minute], fromDate: date)