title: How to separate date and time using php from date time string?
body: <p>How to convert this string</p>
  
  <pre><code>$parent = "2011-08-04 15:00:01";
  </code></pre>
  
  <p>to separate it into two strings:</p>
  
  <pre><code>$child1= "2011-08-04";
  $child2 = "12:00:01";
  </code></pre>
  
  <p>And then convert </p>
  
  <pre><code>$child1 to this format 8.4.2011 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$child2 to this format 15:00
  </code></pre>