#######################################################################
// get_date
// #######################################################################
function get_date() {
global $config;
$currtime = time();
$currtime = $currtime+($config['adjusttime']*3600);
return $currtime;
}
It is converted from the server time. Threads grabs the server time called time() then it adds the adjust time in the config file shown for your time zone. If your time zone is one hour away from the server your config file has a 1 which in this case if 1 x 3600 seconds or ONE HOUR. The date is stored as a UNIX TIMESTAMP. Thus the need for all seconds.
Have you tried?
$now = $this -> get_date();