FUNCTION

format.text_to_ms

function text_to_ms(text: text): integer

Parse a unix timestamp from text formatted according to this time format value.

Parameters

  • text — the time-formatted text

Returns

the unix timestamp represented by the given text

Throws

  • exception — if the given text is not formatted according to this time format value

Since

0.14.14

© 2026 Chromia