I am trying to get the hour from an NSDate object I\'m using iOS 14.0.1 to run this code.
NSDate *date = self.wakeUpView.timePicker.date; NSTimeInterval s