# format.text_to_ms_or_null · Rell standard library · Chromia Docs (concept)

> function text_ to_ ms_ or_ null(text: text ): integer ? Parse a unix timestamp from text formatted according to this time format value. Parameters text — t

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/format/text_to_ms_or_null/

FUNCTION

# format.text\_to\_ms\_or\_null

```signature
function text_to_ms_or_null(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, or `null` if the given text is not
formatted according to this time format value

Since 0.14.14

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/rell.time/format/text_to_ms_or_null.html)Generated API reference, mirrored from the live docs
