---
title: weekdayOrdinal
framework: corefoundation
role: symbol
role_heading: Type Property
path: corefoundation/cfcalendarunit/weekdayordinal
---

# weekdayOrdinal

Specifies the ordinal weekday unit.

## Declaration

```swift
static var weekdayOrdinal: CFCalendarUnit { get }
```

## Discussion

Discussion The weekday ordinal unit describes ordinal position within the month unit of the corresponding weekday unit. For example, in the Gregorian calendar a weekday ordinal unit of 2 for a weekday unit 3 indicates “the second Tuesday in the month”.

## See Also

### Constants

- [era](corefoundation/cfcalendarunit/era.md)
- [year](corefoundation/cfcalendarunit/year.md)
- [month](corefoundation/cfcalendarunit/month.md)
- [day](corefoundation/cfcalendarunit/day.md)
- [hour](corefoundation/cfcalendarunit/hour.md)
- [minute](corefoundation/cfcalendarunit/minute.md)
- [second](corefoundation/cfcalendarunit/second.md)
- [week](corefoundation/cfcalendarunit/week.md)
- [weekday](corefoundation/cfcalendarunit/weekday.md)
- [quarter](corefoundation/cfcalendarunit/quarter.md)
- [weekOfMonth](corefoundation/cfcalendarunit/weekofmonth.md)
- [weekOfYear](corefoundation/cfcalendarunit/weekofyear.md)
- [yearForWeekOfYear](corefoundation/cfcalendarunit/yearforweekofyear.md)
