---
title: lastProcessedDate()
framework: coremotion
role: symbol
role_heading: Instance Method
path: coremotion/cmmovementdisordermanager/lastprocesseddate()
---

# lastProcessedDate()

Returns the date of the most recently calculated results.

## Declaration

```swift
func lastProcessedDate() -> Date?
```

## Return Value

Return Value The date of the most recently calculated results, or nil if no results are available.

## Discussion

Discussion Because the manager processes results in batches, data may not be available immediately.  Use this method to determine the end date for the currently processed data. Additional data will continue to become available, until the manager processes everything up to the monitor expiration date. This method returns nil if you have not yet begun monitoring the user, or if the manager has not yet processed any data.

## See Also

### Querying for Movement Disorders

- [queryTremor(from:to:withHandler:)](coremotion/cmmovementdisordermanager/querytremor(from:to:withhandler:).md)
- [CMTremorResultHandler](coremotion/cmtremorresulthandler.md)
- [queryDyskineticSymptom(from:to:withHandler:)](coremotion/cmmovementdisordermanager/querydyskineticsymptom(from:to:withhandler:).md)
- [CMDyskineticSymptomResultHandler](coremotion/cmdyskineticsymptomresulthandler.md)
