Anonymous Anonymous - 1 year ago
778 0

How to display the current year with Twig.

Twig

Twig display current year

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