---
title: dateInterval
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ininteraction/dateinterval
---

# dateInterval

The time at which the interaction started and its duration.

## Declaration

```swift
var dateInterval: DateInterval? { get set }
```

## Discussion

Discussion Use this property to reflect time-related information for the interaction. For example, you could use this property to reflect the duration of a phone call or the timestamp of a message. At initialization time, the date portion is set to the current time and the duration is set to 0.

## See Also

### Accessing Interaction Attributes

- [intentHandlingStatus](intents/ininteraction/intenthandlingstatus.md)
- [direction](intents/ininteraction/direction.md)
- [identifier](intents/ininteraction/identifier.md)
- [groupIdentifier](intents/ininteraction/groupidentifier.md)
