protected function genTime($time=false){
        if (!$time){
            $time = time();
        } else if (is_numeric($time)) {
            $time = (int)$time;
        } else if (is_string($time)) {
            $time = strtotime($time);
        } else {
            throw new InvalidArgumentException('Invalid time input given');
        }
        return date('c', $time-120);
            
    }