I have program that allows our will-call customers to pick the date & time they want to pick up their order. However, we require that the time be at least 1 hour ahead to allow time for the order to be processed. I am using a basic HTML5 date/time picker. That part works fine.
Though, I seem to be running in trouble were I check they have selected a future time of an hour ahead. I am using the following to get 1 hour ahead - which is also my question: Is this a safe method to get an hour ahead or is time set by ISP or could it be via the browser and the time on their machine?
$oneHourAhead = date('G:i', strtotime('+1 hour'));