---
title: allDay
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/datadetector/match/semanticdetails/calendarevent/allday
---

# allDay

A Boolean value that indicates whether the event is an all-day event.

## Declaration

```swift
let allDay: Bool
```

## Discussion

Discussion This may be true if the date or date range doesn’t specify a time.

## See Also

### Calendar event properties

- [startDate](datadetection/datadetector/match/semanticdetails/calendarevent/startdate.md)
- [endDate](datadetection/datadetector/match/semanticdetails/calendarevent/enddate.md)
- [startTimeZone](datadetection/datadetector/match/semanticdetails/calendarevent/starttimezone.md)
- [endTimeZone](datadetection/datadetector/match/semanticdetails/calendarevent/endtimezone.md)
