By using merge tags, you can incorporate available lead and result data into your messages, thereby personalizing each message even when you use the same template for all recipients, e.g., first name, email, phone number, etc.
One specific type of merge tag is datetime; a merge tag that inserts a certain date and time, e.g., meeting time. There are several ways to format the displayed date and time by adding additional values directly in the merge tag.
There are five levels of precision to choose from when you want to format the merge tag; none, short, medium, long and full.
The formatting options can be set for the date and/or time components, e.g., [timestamp, date=short, time=medium].
It's also possible to specify the date and time simultaneously using format, e.g., [timestamp, format=full]. That would be exactly the same as writing [timestamp, date=full, time=full].
Here is what the different kinds of formats look like:
Format
Formatting | Visualization |
[timestamp, format=none] | 20230328 08:25 AM
NB: None doesn't work when using format. |
[timestamp, format=short] | 3/28/23, 8:25 AM |
[timestamp, format=medium] | Mar 28, 2023, 8:25:54 AM |
[timestamp, format=long] | March 28, 2023 at 8:25:54 AM GMT+2 |
[timestamp, format=full] | Tuesday, March 28, 2023 at 8:25:54 AM Central European Summer Time |
Date
When you only format the date, Adversus will use the default formatting for time = medium.
Formatting | Visualization |
[timestamp, date=none] | 8:25:54 AM
NB: When date is set to none, Adversus only displays the time. |
[timestamp, date=short] | 3/28/23, 8:25:54 AM |
[timestamp, date=medium] | Mar 28, 2023, 8:25:54 AM |
[timestamp, date=long] | March 28, 2023 at 8:25:54 AM |
[timestamp, date=full] | Tuesday, March 28, 2023 at 8:25:54 AM |
Time
When you only format the time, Adversus will use the default formatting for date = medium.
Formatting | Visualization |
[timestamp, time=none] | Mar 28, 2023
NB: When time is set to none, Adversus only displays the date. |
[timestamp, time=short] | Mar 28, 2023, 8:25 AM |
[timestamp, time=medium] | Mar 28, 2023, 8:25:54 AM |
[timestamp, time=long] | Mar 28, 2023, 8:25:54 AM GMT+2 |
[timestamp, time=full] | Mar 28, 2023, 8:25:54 AM Central European Summer Time |
Locale
If you want to lock the timestamp display to a specific country format, you can set it using locale, e.g., [timestamp, format=long, locale=da]. In this example, the date and time are displayed in a long format in Danish locale.
