请教各位高手
在php中,无法取得
require_once ('License.class.php');
$obj_license = & new License();
$obj_license->init();
$licenseStatus = $obj_license->getLicenseStatus();
$EndServiceDate = $obj_license->getEndServiceDate();
if($licenseStatus == 24){
$year  = substr($EndServiceDate, 0, 4);
$month = substr($EndServiceDate, 4, 2);
$day   = substr($EndServiceDate, 6, 2);
$ori_plusdate = $year."-".$month."-".$day;
$plusdate = date("Y-n-j",strtotime("$ori_plusdate+30 day"));
$plusdate = $this->dateFormat_case2($plusdate);
$request->setAttribute("plusdate", $plusdate);
}

$EndServiceDate =mktime(0,0,0,$month,$day,$year);
$now =mktime();
echo $now;
if ($EndServiceDate < $now){
$licenseflg=1;

Perry::redirect( PHP_SYSTEM . "?action=SystemLicenseAdmin&licenseflg=".$licenseflg);
    

}
请问,为设么无法取得$EndServiceDate的值