title: How to set the default value of a datetime field to the current time in Symfony2?
body: <p>How would I go about setting the default value of the datetime field of a form to the current time in Symfony2?</p>
  
  <p>I'm using the FormBuilderInterface and the following isn't working:</p>
  
  <pre><code>$builder-&gt;add(
      'completed_datetime', 'datetime', array('data' =&gt; new \DateTime('now'))
  );
  </code></pre>
  
  <p>The form continues to show what I presume to be the default value for the datetime field 2008-01-01 00:00.</p>