Skip to main content

Convert dates to a desired format

The "Convert dates to a desired format" function converts any supported date format into a desired date format.


Supported Date Formats (in the from field)

  • yyyy-MM-dd'T'HH:mm:ss.SSSXX
  • yyyy-MM-dd HH:mm
  • yyyy-MM-dd'T'HH:mm:ss.SSS'Z'XX
  • yyyy-MM-dd'T'HH:mm:ss
  • yyyy-MM-dd HH:mm:ss
  • yyyy/MM/dd'T'HH:mm:ss.SSSXX
  • yyyy/MM/dd HH:mm
  • yyyy/MM/dd'T'HH:mm:ss.SSS'Z'XX
  • yyyy/MM/dd'T'HH:mm:ss
  • yyyy/MM/dd HH:mm:ss
  • yyyy-MM-dd
  • yyyy/MM/dd
  • dd/MM/yyyy
  • MM/dd/yyyy
  • d MMMM yyyy

Replacement String

The Replacement string attribute in the mapping specifies a pattern that constructs a java.text.SimpleDateFormat object.
Valid patterns can be found in the official Java documentation:
Java SimpleDateFormat Documentation


Attributes for Time Conversion Mapping

AttributeRequiredDescription
fromYDefines the field name before mapping.
toYDefines the field name after mapping.
precedenceNDefines the precedence used when mapping.
Function typeYDefines the function type of the mapping. Must be set to "Date function".
FunctionYDefines the type of mapping. Must be set to "Convert dates to a desired format".
Replacement stringYDefines the pattern for time conversion using SimpleDateFormat.

Usage Example

Replacement stringValue Before MappingResult After Mapping
hh:mm dd/MM/yyyy2026-01-20T09:30:0009:30 20/01/2026

Example 1