---
title: strictEndDate
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkqueryoptions/strictenddate
---

# strictEndDate

The sample’s end time must fall within the target time period.

## Declaration

```swift
static var strictEndDate: HKQueryOptions { get }
```

## Discussion

Discussion The sample’s end time must be equal to or later than the target’s start time, and the sample’s end time must also be earlier than the target’s end time.

## See Also

### Constants

- [strictStartDate](healthkit/hkqueryoptions/strictstartdate.md)
