我有像这样的表结构
ATM Ticket Open Time Ticket Closed Time
M30G324202 17-02-2013 06:15 19-02-2013 20:54
M30G324202 28-02-2013 21:00 01-03-2013 11:18
M30G324203 27-02-2013 19:10 28-02-2013 07:14
M30G324203 28-02-2013 07:15 28-02-2013 11:18
如果票务开放时间或票务关闭时间介于“20:00:00”和“06:00:00”之间,即晚上 8 点和早上 6 点,则应创建没有该时间范围的新行
例如上表的第一行
ATM Ticket Open Time Ticket Closed Time
M30G324202 17-02-2013 06:15 17-02-2013 20:00
M30G324202 18-02-2013 06:00 18-02-2013 20:00
M30G324202 19-02-2013 06:00 19-02-2013 20:00
//Above was for Only 1st Row
//Second Row Change AS Follows
M30G324202 01-03-2013 06:00 01-03-2013 11:18
(Time From 28-02-2013 21:00 Will get neglected till next day morning 6 AM
as it is after 8 PM )
//Third Row Change AS Follows
M30G324203 27-02-2013 19:10 27-02-2013 20:00
M30G324203 28-02-2013 06:00 28-02-2013 07:14
//Fourth Row Change AS Follows
M30G324203 28-02-2013 07:15 28-02-2013 11:18 (No Change as it is)
我写20:00
了而不是20:54
因为 54 分钟。2 月 19 日晚上 8 点以后。