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

> function text_ to_ ms(text: text ): integer Parse a unix timestamp from text formatted according to this time format value. Parameters text — the time-form

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

FUNCTION

# format.text\_to\_ms

```signature
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

[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.html)Generated API reference, mirrored from the live docs
