AnsweredAssumed Answered

How to check if a Date & Time falls within a range and avoid double booking?

Question asked by bimi82 on Aug 21, 2018
Latest reply on Nov 20, 2018 by bimi82

Hello All

 

I am in process in creating a form for booking a car from the pool.
Now of course it is not ideal to book the same car between a date/time when it is already booked by somebody else.


The purpose is to avoid double booking!!

Lets take an example:

 

 

Now, nobody else should be able to book the same car on the same date/time and between the times.

However, the user can book the same car outside the date/time frame.


What is the best (easiest) way to perform such checkup?

Outcomes