Skip to main content

Date and Time Helpers

Insert dates and times automatically in your templates.

Moment

The {{moment}} helper can output dates, times, and manipulate existing date values.

info

The examples here are dynamic, you can tweak the variable options to see how they work.

What you can insertVariable and preview
Today's full date
Template
Preview
December 12 2025
Custom date format
Template
Preview
2025 Dec

See all possible formatting values.
Current time (24h)
Template
Preview
16:37:38
Current time (12h)
Template
Preview
04:37:38 PM
7 days from today
Template
Preview
December 19 2025
7 days before today
Template
Preview
December 05 2025
Thursday next week
Template
Preview
December 18 2025
Next day of the week
Template
Preview
Saturday
Previous day of the week
Template
Preview
Thursday
End of the week
Template
Preview
December 13 2025
Time from now to a different date
Template
Preview
5 months ago
Time to now from a different date
Template
Preview
in 3 years
Days in the current month
Template
Preview
31
Week of the year
Template
Preview
50
Today's date in a different language
Template
Preview
décembre 12 2025

See the list of supported locales.
tip

You can combine different options to get the date you need. For example, to get only the day the week, 3 days from now, in French, you can use {{moment add="3;days" format="dddd" locale="fr"}}. This will output lundi.

Supported languages for dates

By default, the {{moment}} helper uses the language set on your computer.

For example, if your computer’s language is set to Spanish, using {{moment}} without any options will display diciembre 12 2025.

To display the date in a different language, you can specify the locale option with the language you want.

The moment helper supports the following language codes:

  • af (Afrikaans)
  • ar-dz (Arabic - Algeria)
  • ar-ly (Arabic - Libya)
  • ar-ma (Arabic - Morocco)
  • ar-sa (Arabic - Saudi Arabia)
  • ar-tn (Arabic - Tunisia)
  • ar (Arabic)
  • az (Azeri)
  • be (Belarusian)
  • bg (Bulgarian)
  • bn (Bengali)
  • bo (Tibetan)
  • bs (Bosnian)
  • ca (Catalan)
  • cs (Czech)
  • cy (Welsh)
  • da (Danish)
  • de-at (German - Austria)
  • de-ch (German - Switzerland)
  • de (German)
  • el (Greek)
  • en-au (English - Australia)
  • en-ca (English - Canada)
  • en-gb (English - Great Britain)
  • en-ie (English - Ireland)
  • en-nz (English - New Zealand)
  • en-us (English - United States)
  • es-do (Spanish - Dominican Republic)
  • es (Spanish)
  • eu (Basque)
  • fa (Farsi - Persian)
  • fi (Finnish)
  • fo (Faroese)
  • fr-ca (French - Canada)
  • fr-ch (French - Switzerland)
  • fr (French)
  • gd (Gaelic)
  • he (Hebrew)
  • hi (Hindi)
  • hr (Croatian)
  • hu (Hungarian)
  • hy-am (Armenian)
  • id (Indonesian)
  • is (Icelandic)
  • it (Italian)
  • ja (Japanese)
  • ka (Georgian)
  • kk (Kazakh)
  • km (Khmer)
  • kn (Kannada)
  • ko (Korean)
  • lo (Lao)
  • lt (Lithuanian)
  • lv (Latvian)
  • mk (Maori)
  • ml (Malayalam)
  • mr (Marathi)
  • ms-my (Malay - Malaysia)
  • ms (Malay)
  • my (Burmese)
  • nb (Norwegian)
  • ne (Nepali)
  • nl-be (Dutch - Belgium)
  • nl (Dutch)
  • pa-in (Punjabi)
  • pl (Polish)
  • pt-br (Portuguese - Brazil)
  • pt (Portuguese)
  • ro (Romanian)
  • ru (Russian)
  • sd (Sindhi)
  • sk (Slovak)
  • sl (Slovenian)
  • sq (Albanian)
  • sr-cyrl (Serbian - Cyrillic)
  • sr (Serbian)
  • sv (Swedish)
  • sw (Swahili)
  • ta (Tamil)
  • te (Telugu)
  • th (Thai)
  • ttl-phh
  • tr (Turkish)
  • uk (Ukrainian)
  • ur (Urdu)
  • uz-latn
  • uz (Uzbek)
  • vi (Vietnamese)
  • yo (Yoruba)
  • zh-cn (Chinese - Simplified)
  • zh-hk (Chinese - Hong Kong)
  • zh-tw (Chinese - Taiwan)