I want to create two variables - one with today's day of the week (Monday - Sunday) and one with the current time. I want to do more than just display it in a label, but am just trying that for now.
I tried this, but my app crashes:
let weekDay = NSCalendar.current.component(.weekday, from: Date())
self.weekDayLabel.text = "\(weekDay)"