Date Display

The Date Display shortcode for WordPress can be used to display the current date or a relative date from the past or future adjusted by parameters. Check below for example implementations and shortcode documentation:

Date Display Examples

18.01.2026

Date Display Shortcodes

Shortcode
[x3m-date format="DD.MM.YYYY"]
The shortcode can be used to display the date in various formats. Above example shows the date in the DD.MM.YYYY format.

Date Display Documentation

Here are the shortcode option settings available for Date Display:

Shortcode Settings Details
format=”DD.MM.YYYY” this is used to set the format of the current date to be displayed.
– DD – displays 2 digit format of day
– MM – displays 2 digit format of month
– YY – displays 2 digit format of year
– YYYY – displays 4 digit format of year
– ZZZ – displays name of day of the week
– XXX – displays name of the month

DD, MM, YYYY or YY, ZZZ or XXX can be combined in any way. Any separators can be used between these notations (ex “MM / YYYY”)

lang=”en”

optional

used to set the language of the date displayed, impacting what is displayed as name of day and name of month.

Optional value, when not set it returns English language. For other languages use: fr (French), it (Italian), de (German), pt (Portuguese), es (Spanish), se (Swedish), dk (Danish), no (Norwegian), fi (Finnish), ee (Estonian), pl (Polish), hu (Hungarian), ro (Romanian), ru (Russian), jp (Japanese), kr (Korean).

adjust=”+1 day”

optional

used to adjust the date displayed relative to the current date.

Adjustments can be in the past, such as “-1 day”, “-2 months” or “-1 year”, or in the future such as “+2 days”, “+1 month” or “+2 years”