---
title: "The EndDateTime method"
slug: "the-enddatetime-method"
abstract: "Overview of the EndDateTime method and properties."
---
# The EndDateTime method

To define the interaction ending date, use the `EndDateTime()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `EndDateTime (DateTime)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Proper DateTime object<br><br>Can be null |