title: PHP Display a unix timestamp in GMT
body: <p>I have a unix timestamp stored in mysql of:</p>
  
  <pre><code>1438919940 
  </code></pre>
  
  <p>which when I convert it at <a href="http://www.onlineconversion.com/unix_time.htm" rel="nofollow">http://www.onlineconversion.com/unix_time.htm</a> it displays as </p>
  
  <pre><code>Fri, 07 Aug 2015 03:59:00 GMT // this is how I want to display it
  </code></pre>
  
  <p>In my code I am displaying it using:</p>
  
  <pre><code>$published = $row['update_date'];  //this is where 1438919940 comes from
  $published = date ('jS F y @ g:ia',$published);
  echo $published; 
  </code></pre>
  
  <p>but this displays as </p>
  
  <pre><code>7th August 15 @ 3:59am
  </code></pre>
  
  <p>The original strtotime I did was a PDT time and my server is set to Europe/London and in my script I have</p>
  
  <pre><code>date_default_timezone_set('Europe/London'); 
  </code></pre>
  
  <p>How are the online conversion site echoing that to the 'correct' (how I want it) version and I'm getting a date in the future!!</p>