Events.RecurrenceRule.DaysOfTheYear
-----------------------------------

Queries days of the year.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.RecurrenceRule.DaysOfTheYear"; EKRecurrenceRule ) 

**MBS**( **"Events.RecurrenceRule.DaysOfTheYear";** /\* Queries days of the year. \*/  
**$EKRecurrenceRule**) /\* The reference to the recurrence rule.e.g. $RecurrenceRule \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKRecurrenceRule | The reference to the recurrence rule. | $RecurrenceRule |

### Result

Returns list or error.

### Description

Queries days of the year.  
This property is valid for rules whose frequency is yearly. This property can be accessed as an list containing one or more numbers corresponding to the days of the year the event recurs. For all other rules, this property is empty. This property corresponds to BYYEARDAY in the iCalendar specification. It should contain values between 1 to 366 or -366 to -1.  
### See also

- [Events.RecurrenceRule.DaysOfTheMonth](EventsRecurrenceRuleDaysOfTheMonth.md)
- [Events.RecurrenceRule.DaysOfTheWeek](EventsRecurrenceRuleDaysOfTheWeek.md)
- [Events.RecurrenceRule.FirstDayOfTheWeek](EventsRecurrenceRuleFirstDayOfTheWeek.md)
- [Events.RecurrenceRule.MonthsOfTheYear](EventsRecurrenceRuleMonthsOfTheYear.md)
- [Events.RecurrenceRule.WeeksOfTheYear](EventsRecurrenceRuleWeeksOfTheYear.md)

This function checks for a license.

Created 10th March 2016 , last changed 13th March 2016

  
[Events.RecurrenceRule.DaysOfTheWeek](EventsRecurrenceRuleDaysOfTheWeek.md) - [Events.RecurrenceRule.Description](EventsRecurrenceRuleDescription.md)

[HTML Version](EventsRecurrenceRuleDaysOfTheYear.shtml)