Anonymous Anonymous - 1 month ago
154 0

How to display the current year with Twig.

Twig

Twig display current year

Current year: {{ "now"|date("Y") }}
Comments