Anonymous Anonymous - 8 months ago
511 0

How to display the current year with Twig.

Twig

Twig display current year

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