I can not call the now()
function inside a class.
Call to undefined function now()
How can I use the now()
function?
class timeClass extends someClass
{
public function update_login_time()
{
$time = now();
return $time;
}
}