/** * @desc Computes the time difference between the server and the current user * @return int The time difference (in hours) */ private function compute_server_user_difference($referencial_timezone = Timezone::SERVER_TIMEZONE) { $this->date_time->setTimezone(Timezone::get_timezone($referencial_timezone)); }