---
title: firstDayOfTheWeek
framework: eventkit
role: symbol
role_heading: Instance Property
path: eventkit/ekrecurrencerule/firstdayoftheweek
---

# firstDayOfTheWeek

Indicates which day of the week the recurrence rule treats as the first day of the week.

## Declaration

```swift
var firstDayOfTheWeek: Int { get }
```

## Discussion

Discussion Values of 1 to 7 correspond to Sunday through Saturday. A value of 0 indicates that this property is not set for the recurrence rule.

## See Also

### Accessing Recurrence Rule Properties

- [EKRecurrenceFrequency](eventkit/ekrecurrencefrequency.md)
- [calendarIdentifier](eventkit/ekrecurrencerule/calendaridentifier.md)
- [recurrenceEnd](eventkit/ekrecurrencerule/recurrenceend.md)
- [frequency](eventkit/ekrecurrencerule/frequency.md)
- [interval](eventkit/ekrecurrencerule/interval.md)
- [daysOfTheWeek](eventkit/ekrecurrencerule/daysoftheweek.md)
- [daysOfTheMonth](eventkit/ekrecurrencerule/daysofthemonth.md)
- [daysOfTheYear](eventkit/ekrecurrencerule/daysoftheyear.md)
- [weeksOfTheYear](eventkit/ekrecurrencerule/weeksoftheyear.md)
- [monthsOfTheYear](eventkit/ekrecurrencerule/monthsoftheyear.md)
- [setPositions](eventkit/ekrecurrencerule/setpositions.md)
- [EK_LOSE_FRACTIONAL_SECONDS_DO_NOT_USE()](eventkit/ek_lose_fractional_seconds_do_not_use().md)
