---
title: daysOfTheYear
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/calendar/recurrencerule/daysoftheyear
---

# daysOfTheYear

On which days of the year the event may occur.

## Declaration

```swift
var daysOfTheYear: [Int]
```

## Discussion

Discussion 1 signifies the first day of the year. Negative values point to a day counted backwards from the last day of the year This field is unused when frequency is any of .daily, .weekly, or .monthly.
