Learn

is_today

Determine if a given variable's date value is today or not.

Determine if a given variable’s date value is today not. Works with variables whose value can be converted to a date.

Sample Usage

{{ if party_date|is_today }}
    What are you waiting for?
{{ endif }}

This will output a string if the date value of party_date is today.

Parameters

This modifier has no parameters.

This article was last updated on March 30th, 2016. Find an error? Please let us know!