The '{{#date_today}}' helper outputs today's date in the format: 'MMM D, YYYY'.

You can change the format outputted by specifying your own date format like this: '{{#date_today ddd, Do MMMM YYYY}}`.

Examples

  • '{{#date_today dddd, Do MMMM YYYY}}` - Friday, 3rd October 2014.
  • '{{#date_today Do MMMM YYYY}}` - 3rd October 2014.
  • '{{#date_today YYYY}}` - 2014.
  • '{{#date_today D/MM/YY}}` - 3/10/16.
  • '{{#date_today DD-MM-YYYY}}` - 03-10-16.

Year, Month and Day Tokens

Input Example Description
YYYY 2014 4 digit year
YY 14 2 digit year
M 2 Month number
MM 02 Month number with leading zero to ensure 2 digits
MMM Jan 3 letter abbreviation of month name
MMMM January Month name
D 1 Day of the month
DD 01 Day of the month with leading zero to ensure 2 digits
Do 1st Day of the month with ordinal
DDD 1 Day of the year
ddd Monday Day name