# ms_to_text · Rell standard library · Chromia Docs (concept)

> 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(p

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

FUNCTION

# ms\_to\_text

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

**Parameters**

* **pattern** — the time format pattern text
* **ms** — the unix timestamp

**Returns**

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

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