
//获取本周周一
function this_monday($timestamp=0,$is_return_timestamp=true){
static $cache ;
$id = $timestamp.$is_return_timestamp;
if(!isset($cache[$id])){
if(!$timestamp) $timestamp = time();
$time= $timestamp-24*3600*date('w',$timestamp)+(date('w',$timestamp)>0?86400:-6*86400);
$monday_date = date('Y-m-d',$time);
if($is_return_timestamp){
$cache[$...