PHP Check Whether Current Time Greater Than 11:00
datetime, php
Solution
if(date("G") >= 11) // or >10
{
// current time is greater than 11:00 AM
}
Where `G` parameter for `date` function stands for
24-hour format of an hour without leading zeros
Manual
Problem
I Need A Help With Data Time. I am currently working with A Queue for Hospital.Queue is maintained by Booking of Appointments.What I want to do is I want to maintain Queue based on current timing.If Current Time is less than 11:00 AM Queue should start from 11:00 AM else Queue should start from Current time.