Instance Property
weekdayOrdinal
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.9+
tvOS 9.0+
watchOS 2.0+
A weekday ordinal or count of weekday ordinals. Weekday ordinal units represent the position of the weekday within the next larger calendar unit, such as the month. For example, 2 is the weekday ordinal unit for the second Friday of the month.
var weekdayOrdinal: Int? { get set }
Discussion
Note
This value is interpreted in the context of the calendar in which it is used.