根据当前时间,如何设置时间查询条件默认值(共3种情况:前20:30-今8:30,今8:30-20:30,今8:30-明8:30)
这列写公式判断呗
DATEDELTA(today(),-2) + " 20:30:00" - today()+" 08:30:00"
today()+" 08:30:00" - today()+" 20:30:00"
today()+" 08:30:00" - DATEDELTA(today(),1)+" 08:30:00"