阅读背景:

在MySQL中存储时间范围并确定当前时间是否在时间范围内

来源:互联网 

I have a database table storing opening hours of a shop as a time range in TIME format. Eg if the shop's opening hours are '9am-5pm', there will be 2 columns 'hours_open' and 'hours_close' where I store 9:00 in 'hours_open' and 17:00 in 'hours_close'. To determine if the shop is currently open or closed, I will run the query:I have a database table storing opening hours o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: