---
title: dateCreated
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchforphotosintent/datecreated
---

# dateCreated

The range of dates during which someone took the pictures.

## Declaration

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

## Discussion

Discussion Use this property to limit the scope of the search to photos taken within the specified dates.

## See Also

### Getting the Search Attributes

- [locationCreated](intents/insearchforphotosintent/locationcreated.md)
- [albumName](intents/insearchforphotosintent/albumname.md)
- [includedAttributes](intents/insearchforphotosintent/includedattributes.md)
- [excludedAttributes](intents/insearchforphotosintent/excludedattributes.md)
- [INPhotoAttributeOptions](intents/inphotoattributeoptions.md)
