Reputation: 174
How can I insert new \Datetime() jj-mm-aaaa
format with Symfony2 ? or if is it impossible how to show it in this format in Twig N
Upvotes: 0
Views: 85
Reputation: 13891
What about using the Date Twig Filter,
{{ yourDateTimeObject|date("d-m-Y") }}
Upvotes: 4