from_milliseconds

from_milliseconds(number: numeric) -> timestamp

Given a numeric value representing milliseconds since epoch, return a timestamp of that point in time.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

Treat in_fld as milliseconds since epoch, and set out_ms to a timestamp representing that time.