---
title: mostRecentQuantityDateInterval
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkdiscretequantitysample/mostrecentquantitydateinterval
---

# mostRecentQuantityDateInterval

The date interval for the most recent quantity contained by the sample.

## Declaration

```swift
var mostRecentQuantityDateInterval: DateInterval { get }
```

## See Also

### Accessing Calculated Values

- [averageQuantity](healthkit/hkdiscretequantitysample/averagequantity.md)
- [maximumQuantity](healthkit/hkdiscretequantitysample/maximumquantity.md)
- [minimumQuantity](healthkit/hkdiscretequantitysample/minimumquantity.md)
- [mostRecentQuantity](healthkit/hkdiscretequantitysample/mostrecentquantity.md)
