title: How to format date fields before save in CakePHP 3?
body: <p>I used this in AppController:</p>
  
  <pre><code>Time::setToStringFormat('dd/MM/YYYY');
  </code></pre>
  
  <p>The date field in my form is a input type "text" to allow my user writes something like <strong>31/12/2015</strong>.</p>
  
  <p>However when I try to save (MySQL date) I get some errors of <strong>Time Class</strong> because inside the table the value now is 00-00-0000</p>
  
  <p><a href="http://pastebin.com/E1FpFfdE" rel="noreferrer">Alunos Controller code</a></p>
  
  <p>Thanks !</p>