bmel:from-epoch¶
Category: Date & Time · Returns: bmel:datetime
Signature
bmel:from-epoch(millis: bmel:number)
Description¶
Converts Unix epoch milliseconds to a datetime value.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
millis | bmel:number | The Unix epoch timestamp in milliseconds. |
Examples¶
Datetime from epoch milliseconds
bmel:from-epoch({invokeAgent:Response Payload}.$.created_ms)
Datetime from epoch seconds
bmel:from-epoch({invokeAgent:Response Payload}.$.created * 1000)