title: Can not call the now() function inside a class
body: <p>I can not call the <code>now()</code> function inside a class.</p>
  
  <blockquote>
    <p>Call to undefined function now()</p>
  </blockquote>
  
  <p>How can I use the <code>now()</code> function?</p>
  
  <pre><code>class timeClass extends someClass
  {
      public function update_login_time()
      {
          $time = now();
          return $time;
      }
  }
  </code></pre>