Hi helper,
I have Start and End columns, type Time.
I need to do something when the current time is in between Start and End.
I use the following:
DATE_FORMAT(now(),'%H:%i:%s') Between Start AND End
It works great if the time in the same day, it does'nt work if Start is 23:00:00 and End 10:00:00 (the next day).
How can I do it work if I cannot change the type of Start and End to DateTime?
Please advise.
Thanks
Jo
I have Start and End columns, type Time.
I need to do something when the current time is in between Start and End.
I use the following:
DATE_FORMAT(now(),'%H:%i:%s') Between Start AND End
It works great if the time in the same day, it does'nt work if Start is 23:00:00 and End 10:00:00 (the next day).
How can I do it work if I cannot change the type of Start and End to DateTime?
Please advise.
Thanks
Jo