Modifier: is_today


Returns true if date is today - using the server’s time.

date: April 1 2020
another_date: November 6 2015

{{ if date | is_today }}
{{ if another_date | is_today }}

true
false

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016