Ray Kootstra Ray Kootstra - 2 years ago
404 0

This example will display the current date in your twig template.

Twig

Symfony2 Twig display current date

{{ 'now'|date('d-m-Y') }}