title: How to do timestamp to DateTime conversion in laravel 5
body: <p>How can i change the timestamp format into dateTime format in laravel 5, while fetching the timestamp from the table.?</p>
  
  <pre><code>&lt;td&gt;{{ $nam-&gt;date("Y-m-d H:i:s", lastLoginTime) }}&lt;/td&gt;
  </code></pre>
  
  <p>When I tried this one, its showing error "<code>Call to undefined method stdClass::date()</code>".<br />
  Anyone help me to solve it. </p>