def add_time(time1, time2): Returns: The sum of time1 and time2 as a new Time objectExample: Sum of 1hr 59min and 1hr 2min is 3hr 1min
DO NOT ALTER time1 or time2, even thoughParameter time2: the
我想选择两个时间字段之间的行.这很好用$time = " AND ( ( time1 IS NULL AND time2 IS NULL ) OR ( '$hour' BETWEEN time1 AND time2 ) ) ";
但我的问题是,调用必须在time1也可以大于time2的查询中工作。like time1=18:00:00 and time2<