Date Operators

When we need to work with dates, these operators will help with your markdown.

List of Operators

{{year}}

Get the current year.

Example

{{year}}
<!-- 2017 -->

{{date}}

Get the current date.

Example

{{date "DD/MM/YYYY"}} 
<!-- 28/04/2015 -->

{{moment}}

Calculate a moment in time.

Example

{{moment "6 years ago" "DD/MM/YYYY"}} 
<!-- 28/04/2015 -->

Use moment as a helper. See helper-date for more details.