Epoch seconds to timestamp

Supported in: Batch, Streaming

Converts from epoch seconds to timestamp in UTC.

Expression categories: Cast, Datetime

Declared arguments

  • Expression - no description
    Expression<Double | Integer | Long>

Output type: Timestamp

Examples

Example 1: Base case

Description: You can convert epoch timestamps to the timestamp type Argument values:

  • Expression: 1673964111

Output: 2023-01-17T14:01:51Z


Example 2: Null case

Description: Null columns remain null Argument values:

  • Expression: input
inputOutput
nullnull