I´m using Quform as a basic restaurant table booking form.
Bookings need to be confirmed by telephone, and this might take time, so we want to set a minimum of 24hrs. from the booking time. For eg. (If I perform the booking today Monday 20/3 at 15.35, the first ‘bookable’ date should be Tuesday 21 -nevermind the time-)
I guess we can achieve this by setting the current time 24hrs. in advance using the code:
function mytheme_date_today() { $now = current_time('timestamp');