---
title: DataScannerViewController.TextContentType.dateTimeDuration
framework: visionkit
role: symbol
role_heading: Case
path: visionkit/datascannerviewcontroller/textcontenttype/datetimeduration
---

# DataScannerViewController.TextContentType.dateTimeDuration

The content type for dates, times, and durations that appear in text.

## Declaration

```swift
case dateTimeDuration
```

## Discussion

Discussion Use this content type for dates such as 7-3-2021, times such as This Saturday and 12:30, and durations such as 10-11am.

## See Also

### Identifying content types

- [DataScannerViewController.TextContentType.URL](visionkit/datascannerviewcontroller/textcontenttype/url.md)
- [DataScannerViewController.TextContentType.emailAddress](visionkit/datascannerviewcontroller/textcontenttype/emailaddress.md)
- [DataScannerViewController.TextContentType.flightNumber](visionkit/datascannerviewcontroller/textcontenttype/flightnumber.md)
- [DataScannerViewController.TextContentType.fullStreetAddress](visionkit/datascannerviewcontroller/textcontenttype/fullstreetaddress.md)
- [DataScannerViewController.TextContentType.shipmentTrackingNumber](visionkit/datascannerviewcontroller/textcontenttype/shipmenttrackingnumber.md)
- [DataScannerViewController.TextContentType.telephoneNumber](visionkit/datascannerviewcontroller/textcontenttype/telephonenumber.md)
- [DataScannerViewController.TextContentType.currency](visionkit/datascannerviewcontroller/textcontenttype/currency.md)
