# Plugin: Date - Time

## Description <a href="#description" id="description"></a>

This plugin enables you to include in your Newsletter or any other e-mail a date / time. It can be the current date (during the send process) or the Newsletter global send date and you add or remove some time to that date in order to display the date two days after the send date for example.

## Plugin <a href="#plugin" id="plugin"></a>

When writing a Newsletter (or any other e-mail in AcyMailing...), click on the **Tag** button to access the AcyMailing tag system.

![](https://4212440522-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_D4iy53WFAtKVs3BPA%2F-MJboNFN9zjEwvdAA-XS%2F-MJboR3dsCNLJX8s1mmX%2Ftoolbar.png?alt=media\&token=faa36ccd-22c9-408b-af36-59d36fbdbd9c)

Click on one of the format field to directly see the tag inserted in your Newsletter.

You can copy/paste the generated tag in your Text area or even in the Subject of your Newsletter if you want to.

![](https://4212440522-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_D4iy53WFAtKVs3BPA%2F-MJboNFN9zjEwvdAA-XS%2F-MJboSc2uQl80mls6BjE%2Fpopup.png?alt=media\&token=748115d8-e18f-4584-ab3e-ada2fe10228a)

Tag time

You can click on one of the line to insert the time with the corresponding format.

You can modify the inserted tag and apply some extra options:

* **senddate** : By default, AcyMailing will display the current time. You can add this parameter to display the Newsletter send date instead of the current time. Example: {date:1|senddate}
* **add** : You can add X seconds to the current time. For example, if you want to display tomorrow's date, you can use: {date:1|add:86400}
* **remove** : You can remove X seconds to the current time. For example, if you want to display yesterday's date, you can use: {date:1|remove:86400}

You can specify the format you want and Acy will use it to display the date the way you want. For example, {date:%B %d, %Y} will be replaced by June 3, 2013 %B : Full month name %m : Two digit representation of the month %d : Two-digit day of the month (with leading zeros) %Y : Four digit representation for the year %y : Two digit representation of the year (with leading zeros)

## Parameters <a href="#parameters" id="parameters"></a>

There is no parameters for this AcyMailing Plugin.


---

# 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://docs.acymailing.com/old/integration-plugins/installed-with-acymailing/plugin-date-time.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.
