Anonymous Anonymous - 3 months ago
255 0

How to display the current year with Twig.

Twig

Twig display current year

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