title: how to use php DateTime() function in Laravel 5
body: <p>I am using laravel 5. I have try to use the </p>
  
  <pre><code>$now = DateTime();
  $timestamp = $now-&gt;getTimestamp(); 
  </code></pre>
  
  <p>But it shows error likes this.</p>
  
  <pre><code> FatalErrorException in ProjectsController.php line 70:
   Call to undefined function App\Http\Controllers\DateTime()
  </code></pre>
  
  <p>What Can I do?</p>