# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-format/format-dates/future-date-formatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
