问题如上,有没有大哥分享下,比如获取:2020-1-8 00:00:00 至 2020-1-9 00:00:00
需要每一天都获取当天0点至明天0点哈
today()+" 00:00:00"
today()+1+" 00:00:00"
试试这个。
这不就是取一天吗,日期=2020-01-08 就是这个时间段了:2020-1-8 00:00:00 至 2020-1-9 00:00:00
CONCATENATE(today()," ","00:00:00") CONCATENATE(today()+1," ","00:00:00")
试试这个