> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/component-basics/inserting-dynamic-text/how-to-format-dates-and-numbers.md).

# How to Format Dates and Numbers

* If the [Magic Text](/component-basics/inserting-dynamic-text.md) you add is for a Number or Date Property, you can customize how that information is formatted.
* **To see formatting options, click on the pencil in the Magic Text chip**
* &#x20;For numbers:
  * Saving Numbers in the Database
    * Whole numbers must be entered without symbols (no commas or periods). Decimals must be denoted by either a period (.) or a comma (,)
  * Formatting Number for Displaying
    * You can select whether the number should have commas, be abbreviated, or be displayed as currency.&#x20;
  * Prefixes and Suffixes
    * Prefixes and Suffixes can make your text even more magical by smartly showing the right word depending on whether the number is singular or plural.
    * For example, if you are showing a count of Trips, you can set the singular suffix to "Trip" and the plural suffix and "Trips."  Then your app will automatically show "1 Trip"  or "2 Trips"
* For dates:
  * You can elect whether you want your data formatted as a Date or Date/Time, Day of the Week, or Relative (i.e., 3 days ago)

![](/files/-MRvE74X9HMkD41tojl4)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.adalo.com/component-basics/inserting-dynamic-text/how-to-format-dates-and-numbers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
