title: Formating an Oracle timestamp with PHP
body: <p>I want to separate Date and time from retrieved timestamp in oracle with php but it's not working.  I tried to separate date and working after that i have to separate time but i am getting empty timestamp.</p>
  
  <pre><code>$db = $row['CREATEDATE']; // CREATEDATE=03-SEP-15 12.55.17.000000 PM
  
  echo 'db...'.(string)$db."&lt;br/&gt;";
  $timestamp = strtotime((string)$db);
  echo 'timestamp...'.$timestamp."&lt;br/&gt;";
  echo date("m-d-Y", $timestamp); 
  </code></pre>