late to the show but you can actually insert that code like this:
date_default_timezone_set("America/New_York");
$time = new DateTime();
$this->lastactivity = $time->getTimestamp();
$this->isloggedin = UserCreator::logincheck();
Didn't expect it to work!
Last edited by Missy Master; 07-20-2020 at 03:59 PM.
|