|
|
@ -599,7 +599,9 @@ class MarketPerformanceSetController extends Controller {
|
|
|
|
$dThisDay = date("w", $iThisMonthFirst);
|
|
|
|
$dThisDay = date("w", $iThisMonthFirst);
|
|
|
|
if ($dThisDay == '1') {
|
|
|
|
if ($dThisDay == '1') {
|
|
|
|
$dFirstMonday = $iThisMonthFirst;
|
|
|
|
$dFirstMonday = $iThisMonthFirst;
|
|
|
|
} else {
|
|
|
|
}else if($dThisDay < 1){
|
|
|
|
|
|
|
|
$dFirstMonday = $iThisMonthFirst + 86400;
|
|
|
|
|
|
|
|
}else {
|
|
|
|
//不是星期一先回到星期日
|
|
|
|
//不是星期一先回到星期日
|
|
|
|
$iDays = 86400 * ($dThisDay * 1);
|
|
|
|
$iDays = 86400 * ($dThisDay * 1);
|
|
|
|
//找出星期日的日期
|
|
|
|
//找出星期日的日期
|
|
|
|