---
title: "Date Time Processor"
slug: "date-time-processor"
updated: 2024-11-26T17:24:30Z
published: 2024-11-26T17:24:30Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Date Time Processor

The **Date Time Processor** is used to convert between various date+time formats. It can be useful for setting the "cue_time_start" or "stw_timestamp" attribute. It uses "UNIX" and "STW" special format specifiers, which indicate a unix timestamp in seconds or in milliseconds respectively, as well as the .NET custom DateTime format strings ([https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings)).

| Param name | Mandatory | Description | Default Value | Possible Value |
| --- | --- | --- | --- | --- |
| key | Yes | Name of the attribute we will be modifying. |  | Not null. |
| input-format | Yes | DateTime format for the input format. |  | See [Date Time Formats](/v1/docs/date-time-formats). |
| output-format | Yes | DateTime format for the output format. | STW | See [Date Time Formats](/v1/docs/date-time-formats). |

**Example XML:**

```xml
<DateTimeProcessor>
   <DateTimeItems>
     <DateTimeItem key="cue_time_start" input-format="MM-dd-yy hh:mm:ss.fff" output-format="STW" />
   </DateTimeItems>
</DateTimeProcessor>
```
