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(.weekday, from: Date())
But instead, i would like to get the weekday of a given date. How is this done? Thanx