Skip to main content

Convert EPOCH to date-time

The "Convert epoch to date-time" function converts epoch timestamps into human-readable date and time formats. This conversion is essential for timestamp value transformations. The Replacement string attribute in the mapping specifies a pattern that constructs a java.text.SimpleDateFormat object. Valid patterns can be found by clicking here.

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. Needs to be "Date function".
FunctionYDefines the type of mapping. Needs to be "date conversion".
Replacement stringYDefines the pattern for time conversion using SimpleDateFormat.

Usage Example

Replacement stringValue Before mappingResult After mapping
dd-MM-yyyy hh:mm:ss157858024109-01-2020 09:57:21