title: Working with podio api, i get a DateTime object and cant access its values
body: <p>i make an API call for Podio, to get active space members. One of the fields that returns is <code>last_seen_on</code>, which is a <code>DateTime</code> Object. </p>
  
  <p>When i <code>print_r()</code> it looks like:</p>
  
  <pre><code>DateTime Object
  (
      [date] =&gt; 2013-11-02 22:47:09
      [timezone_type] =&gt; 3
      [timezone] =&gt; UTC
  )
  </code></pre>
  
  <p>The issue is when I get the <code>date</code> or <code>timezone_type</code> or <code>timezone</code> by doing <code>$object[date]</code>, or <code>$object-&gt;date</code> it throws an error.</p>
  
  <p>Now i am not sure if this has something to do with php DateTime class, if so.. how do I use that object with that class?</p>