日期:2014-05-16 浏览次数:20493 次
public function pai3(&$actionNo, &$actionTime, $time=null){
$this->setTimeNo($actionTime, $time);
//echo $actionTime,' ',date('Y-m-d H:i:s', $time);
if($actionTime >= date('Y-m-d H:i:s', $time)){
$actionNo = date('Yz', $time)-6;
}else{
$actionNo = date('Yz', $time)-6;
$actionTime=date('Y-m-d 18:30', $time);
}
}
public function pai3(&$actionNo, &$actionTime, $time=null){
$this->setTimeNo($actionTime, $time);
//echo $actionTime,' ',date('Y-m-d H:i:s', $time);
$year = date('Y', $time);
$day = str_pad(date('z',$time),3,'0',STR_PAD_LEFT);
$times = $year.$day;
if($actionTime >= date('Y-m-d H:i:s', $time)){
$actionNo = $times-6;
}else{
$actionNo = $times-6;
$actionTime=date('Y-m-d 18:30', $time);
}
}