设置持续时间上限时应该使用什么
a)date_start between '2017-05-01 00:00:00' and '2017-05-31 23:59:59'
b)date_start between '2017-05-01 00:00:00' and '2017-05-31 24:00:00'
是a还是b?
由于
答案 0 :(得分:0)
它将是a
date_start between '2017-05-01' and '2017-05-31 23:59:59'
,因为
2017-05-31 24:00:00
means
2017-06-01 00:00:00