title: What is the simplest way to format a timestamp from SQL in PHP?
body: <p>What is the simplest, fastest way to complete the PHP code below such that the output is in a user-friendly format (for example, "October 27, 2006")?</p>
  
  <pre><code>$result = mysql_query("SELECT my_timestamp FROM some_table WHERE id=42", $DB_CONN);
  $row = mysql_fetch_array($result);
  $formatted_date = ???($row['my_timestamp']);
  echo $formatted_date;
  </code></pre>