I have looked around a bit, but didnt find a quick answer for this in swift 3. I get todays weekday like this:
let weekday = Calendar.current.component(.week
If you want dayNumber component in TimeZone
func dayNumberOfWeek() -> Int? { let timeZone = TimeZone(abbreviation: "EDT") let component = Calendar.current.dateComponents(in: timeZone!, from: self) return component.day }