public static function timeToInt($time)
    {
        $timeHour = substr($time, 0, 2);
        if (substr($time, 0, 1) == '0') {
            $timeHour = substr($time, 1, 1);
        }
        $timeMin     = substr($time, 3, 5);
        $timeHourMin = ((int)$timeHour * 60) + ((int)$timeMin / 1);
        $values      = $timeHourMin;

        return $values;
    }