Skip to main content
The Date Time Converter is a guided form in the Expression Editor that builds a date/time conversion expression for you. Instead of writing functions like ToDateCustomFormats, ToString, ToDate, and ToUnixTime by hand, you pick a source field, an input format, an output format, and an output type, and the editor generates the expression.

Opening the Date Time Converter

Open the Expression Editor on any field (for example in a Select or Filter component). In the function list, find DateTimeConverter under the Datetime category and click it to open the guided form. When you select a date function such as ToDate or ToDateCustomFormats, the editor also shows a tip linking you to the Date Time Converter.

Configuring the conversion

The form has four inputs and a live preview of the generated expression.

Source Field

Select the field that holds the date/time value you want to convert. The dropdown lists the fields in the component’s input schema. If you do not select a field, the generated expression uses a 'your_value_here' placeholder that you can replace.

Input Format

Choose the format your source data is already in. Presets cover the common cases:
PresetPatternExample
ISO Dateyyyy-MM-dd2025-01-15
US DateMM/dd/yyyy01/15/2025
EU Datedd/MM/yyyy15/01/2025
US Date HyphenMM-dd-yyyy01-15-2025
Verbose Datedd-MMM-yyyy15-Jan-2025
Compact DateyyyyMMdd20250115
Database DateTimeyyyy-MM-dd HH:mm:ss2025-01-15 14:30:00
DateTime Minutesyyyy-MM-dd HH:mm2025-01-15 14:30
US DateTimeMM/dd/yyyy HH:mm:ss01/15/2025 14:30:00
ISO 8601yyyy-MM-dd'T'HH:mm:ss'Z'2025-01-15T14:30:00Z
ISO 8601 Millisyyyy-MM-dd'T'HH:mm:ss.SSS'Z'2025-01-15T14:30:00.123Z
Unix Timestamp(seconds since epoch)1736956200
Custom…(your own pattern)
Pick Custom… to type your own pattern. A format reference table appears showing the available tokens.

Output Format

Choose the format to write the value out in. The output format presets are the same as the input presets, without the Unix Timestamp option. The Output Format is only used when the Output Type is String. For DateTime and Unix Timestamp output, the field is disabled.

Output Type

Choose what the expression should produce:
  • DateTime parses the source value into a DateTime field.
  • String parses the source value, then formats it as text using the Output Format.
  • Unix Timestamp parses the source value and returns the number of seconds since the Unix epoch.

Generated expressions

The form builds the expression from your selections. The patterns are:
Output TypeStandard inputUnix Timestamp input
StringToString(ToDateCustomFormats(field, 'inFormat'), 'outFormat')ToString(ToDate(field * 1000L), 'outFormat')
DateTimeToDateCustomFormats(field, 'inFormat')ToDate(field * 1000L)
Unix TimestampToUnixTime(ToDateCustomFormats(field, 'inFormat'))field (no conversion)
For example, converting an ISO date field to US date string format produces:
ToString(ToDateCustomFormats(order_date, 'yyyy-MM-dd'), 'MM/dd/yyyy')
The Preview line shows a worked example of the conversion (for instance 2025-01-15 -> 01/15/2025) so you can confirm the result before inserting it. Click Insert Expression to add the generated expression to the Expression Editor.

Custom format tokens

When you choose a custom input or output format, use these tokens to build the pattern:
TokenMeaningExample
yyyy4-digit year2025
yy2-digit year25
MMMonth (zero-padded)01
MMMMonth abbreviationJan
ddDay (zero-padded)15
HHHour, 24-hour14
hhHour, 12-hour02
mmMinutes30
ssSeconds45
SSSMilliseconds123
aAM/PMPM
The Date Time Converter is a shortcut for building expressions from the functions above. The result is a normal expression, so you can edit it after inserting it or combine it with other functions. To learn more about temporal data in Integrate.io ETL, see Working with Datetime Data.
Last modified on June 12, 2026