ms_to_text

function ms_to_text(pattern: text, ms: integer): text

Format a unix timestamp according to the given time format text.

Equivalent to rell.time.format(pattern).ms_to_text(ms).

Return

a text representation of the given unix timestamp, in the specified format

Since

0.14.14

Parameters

pattern

the time format pattern text

ms

the unix timestamp