-1
操作员不在我的代码中工作。请帮我操作员不在我的代码中工作
date_default_timezone_set('Asia/Kolkata');
$today = date("m/d/y");
$newdate = strtotime ('-7 day' , strtotime ($today)) ;
$newdate = date ('m/d/y' , $newdate);
$query = mysqli_query($con, "SELECT * FROM service_calls WHERE open_date BETWEEN '$today' AND '$newdate'");
这是给我的空白窗口运行此代码后。
我有open_date格式与上面提到的相同。
尝试使用国际格式的日期:'Y-m-d' – 2013-05-13 06:57:26