---
title: documentTimeZone
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/datadetector/options/documenttimezone
---

# documentTimeZone

A date that represents the date of the scanned string.

## Declaration

```swift
var documentTimeZone: TimeZone?
```

## Discussion

Discussion This is the date that’s relevant to the subject of the string the system in scanning, such as a text message reception date. The default is “now.”

## See Also

### Hints you can provide to add more context for the matching process

- [documentDate](datadetection/datadetector/options/documentdate.md)
- [documentLanguageCode](datadetection/datadetector/options/documentlanguagecode.md)
- [documentRegion](datadetection/datadetector/options/documentregion.md)
