title: Form autofill time and date
body: <p>I am trying to autofill the time and date of an HTML form and need to use UTC time.  I would like to use PHP or javascript.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form&gt;
  &lt;label&gt;Date&lt;/label&gt;
  &lt;input type="date" name="date" value="&lt;?php echo date('Y-m-d'); ?&gt;"&gt;
  &lt;br /&gt;
  &lt;label&gt;Time&lt;/label&gt;
  &lt;input type="time" name="time"/ value=""&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  
  Thanks in advance.</p>