---
title: date
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/date
---

# date

Attributes queried for the capture date. Default: contentCreationDate

## Declaration

```swift
var date: [SearchableItemAttribute]?
```

## See Also

### Getting the domain attributes

- [description](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/description.md)
- [location](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/location.md)
- [people](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/people.md)
