---
title: "init(_:)"
framework: eventkit
role: symbol
role_heading: Initializer
path: "eventkit/ekrecurrencedayofweek/init(_:)"
---

# init(_:)

Creates and returns a day of the week with a given day.

## Declaration

```swift
convenience init(_ dayOfTheWeek: EKWeekday)
```

## Parameters

- `dayOfTheWeek`: The day of the week. Values range from 1 to 7, with Sunday being 1.

## Return Value

Return Value The new day of the week.

## Discussion

Discussion The week number of the returned day of the week is 0.

## See Also

### Creating a Day of the Week

- [EKWeekday](eventkit/ekweekday.md)
- [init(_:weekNumber:)](eventkit/ekrecurrencedayofweek/init(_:weeknumber:).md)
- [init(dayOfTheWeek:weekNumber:)](eventkit/ekrecurrencedayofweek/init(dayoftheweek:weeknumber:).md)
