# rell.time · Rell standard library · Chromia Docs (concept)

> Date/time formatting and parsing utilities. Convert between millisecond timestamps and human-readable text via configurable rell.time.format patterns. Type

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

PACKAGE

# rell.time

On this page

* [Types](#types)
* [Functions](#functions)

Date/time formatting and parsing utilities. Convert between millisecond timestamps and human-readable text via configurable [rell.time.format](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/format/) patterns.

## Types

[format](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/format/)
:   A time formatter type for formatting and parsing UTC dates and times. A rell.time.format value is

## Functions

[ms\_to\_text](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/ms_to_text/)
:   Format a unix timestamp according to the given time format text.

[text\_to\_ms](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/text_to_ms/)
:   Parse a unix timestamp from text formatted according to the given time format pattern text.

[text\_to\_ms\_or\_null](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.time/text_to_ms_or_null/)
:   Parse a unix timestamp from text formatted according to the given time format pattern text.

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