---
title: endDate
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkstatistics/enddate
---

# endDate

The end of the time period included in these statistics.

## Declaration

```swift
var endDate: Date { get }
```

## Discussion

Discussion This property contains the end date for the statistics. If you calculated these statistics using a statistics query, this is the latest end date from all the samples that match the query. If you calculated these statistics using a statistics collection query, this is the end of the time interval for that particular collection of statistics.

## See Also

### Getting Property Data

- [startDate](healthkit/hkstatistics/startdate.md)
- [quantityType](healthkit/hkstatistics/quantitytype.md)
- [sources](healthkit/hkstatistics/sources.md)
