# Formatter

## What is Formatter?

Allows you to manipulate dates by either:

1. Changing them to a new format style or
2. Adding/subtracting days, months, years, hours or minutes to it

## Add/subtract time

<table><thead><tr><th width="204.05859375">Field</th><th width="410.37109375">Description</th><th>Required?</th></tr></thead><tbody><tr><td>Value to transform</td><td>The time that you want to manipulate</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr><tr><td>Select the format of your value</td><td>The format that the time you want to manipulate, is currently in</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr><tr><td>Specify the amount of time you want to add or subtract</td><td>The amount of time you wish to add or subtract to the time you want to manipulate</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr></tbody></table>

## Format  date/time

<table><thead><tr><th width="204.05859375">Field</th><th width="410.37109375">Description</th><th>Required?</th></tr></thead><tbody><tr><td>Value to transform</td><td>The time that you want to manipulate</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr><tr><td>Select the format of your value</td><td>The format that the time you want to manipulate, is currently in</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr><tr><td>What format do you want to transform value to?</td><td>The new format for your time</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td></tr></tbody></table>

1. Set up your step by completing the fields.&#x20;
2. Click on **Check step.**

## Check step

The **Check step** button saves your set up and tells you what the transformed value will be according to what you set up.

## Common errors

<details>

<summary>Incorrect format of your value</summary>

This happens when you choose the wrong format of your value.&#x20;

You should make sure that you select the correct format of your value.

</details>


---

# 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://guide.plumber.gov.sg/user-guides/actions/formatter.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.
