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 Convert epoch to date-time mapping

AttributeRequiredDescription
FromYesDefines the field name before mapping.
ToYesDefines the field name after mapping.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function typeYesDefines the function type of the mapping. Needs to be "Date function".
FunctionYesDefines the type of mapping. Needs to be "Convert epoch to date-time mapping".
Replacement stringYesDefines 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