Ray Kootstra Ray Kootstra - 1 year ago
293 0

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

Twig

Symfony2 Twig display current date

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