> For the complete documentation index, see [llms.txt](https://attr.sygnal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://attr.sygnal.com/sa5-format/format-dates/future-date-formatting.md).

# Future - Date formatting

Currently SA5 supports day.js. It offers a wide range of date formatting capabilities.

{% embed url="<https://day.js.org/docs/en/display/format>" %}

The reason this feature requires you to specify a format handler is that it's likely we'll add other handlers in the future such as Luxon, which have different formatting string capabilities.&#x20;

## Date Features

Moment offers some pretty great features that we may extend into attributes, such as;

* Relative time, e.g. time until and time since displays, e.g. "7 days until..." or "Published 23 days ago".&#x20;
* Locale support. We'll wait to see how Webflow's localization features shape up.&#x20;
* Calendar time

## Local Time

Convert site time to the user's local time

<https://discourse.webflow.com/t/how-to-display-time-in-visitor-time-zone/123136/27>

### Luxon

Offers a different range of formatting strings and options.&#x20;

### Moment

{% embed url="<https://momentjs.com/docs/#/displaying/format/>" %}

<https://moment.github.io/luxon/#/install>

<https://moment.github.io/luxon/#/formatting?id=table-of-tokens>
