I would like to ask if there is a function in thinkphp3.1 to query the information within the filling time?
For example, information from 2016/11/21 01:00 ~ 2016/11/21 02:00
I would like to ask if there is a function in thinkphp3.1 to query the information within the filling time?
For example, information from 2016/11/21 01:00 ~ 2016/11/21 02:00
<code>$where['add_time'] = array(array('egt',$starttime),array('elt',$endtime),'AND'); </code>
You can use interval query