---
title: dateTime
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchfornotebookitemsintent/datetime
---

# dateTime

The value to use when performing date-based searches.

## Declaration

```swift
@NSCopying var dateTime: INDateComponentsRange? { get }
```

## Discussion

Discussion Use the value in the dateSearchType property to determine how to apply the specified date to your search criteria.

## See Also

### Searching by Date

- [dateSearchType](intents/insearchfornotebookitemsintent/datesearchtype.md)
- [INDateSearchType](intents/indatesearchtype.md)
