Date/time calculation to stop date/time being selected within 12hrs of current time

Date/time calculation to stop date/time being selected within 12hrs of current time


I am creating a booking form where I need to stop entries being submitted if the proposed booking is less than 12 hrs away.
How do I calculate this to so that the booking cannot be made?