Instance Property

dayOfTheWeek

The day of the week.

Declaration

var dayOfTheWeek: EKWeekday { get }

Discussion

Values are from 1 to 7, with Sunday being 1.

See Also

Accessing Properties of a Day of the Week

var weekNumber: Int

The week number of the day of the week.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software