Ray Kootstra Ray Kootstra - 2 years ago
448 0

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

Twig

Symfony2 Twig display current date

{{ 'now'|date('d-m-Y') }}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download