title: Warning: date() expects parameter 2 to be long, object given in
body: <p>I currently have this code: </p>
  
  <pre><code>echo date('Y-m-d H:i:s',$songs-&gt;PLAYEDAT) . '&amp;nbsp;&amp;nbsp;' . $songs-&gt;TITLE . '&lt;br /&gt;';
  </code></pre>
  
  <p>But the problem is that it gives me that error in the title.. i tried many things and i can't get it to work properly..</p>
  
  <p>If i echo out $songs->PLAYEDAT it gives me a number..which is an unixtimestamp i know for sure..because in D.N.A.S shoutcast stats thing it shows the date..how they do it ? i don't know.</p>