title: Display timestamp variable in Twig Symfony
body: <p>How to print a variable in twig html file such as for date:<br>
  <code>{{ timeComment|date('Y-m-d') }}</code></p>
  
  <p>I've tried <code>date('Y-m-d H:i:s')</code> but it doesn't work.</p>