title: Convert yyyy/mm/dd-hh-mm-ss.00 to Y-m-d H:i:s in php
body: <p>I'm developing a system that recibe a date format like: yyyy/mm/dd-hh-mm-ss.00 and I need convert it to Y-m-d H:i:s.</p>
  
  <p>What I done was:</p>
  
  <pre><code>$newDate = date("Y-m-d H:i:s", strtotime($values[2]));
  </code></pre>
  
  <p>where $values[2] it is the date in that format, for instace: 2014/01/01-13-18-23.00. But the result is: 1970-01-01 01:00:00</p>
  
  <p>Can you help me?</p>
  
  <p>Thanks</p>