I know this question was probably asked, however i did not find the answer anywhere.
I would like to determine if the current time is before or after 10:30 AM with php. i found a long way to do it that involves a lot of time parsing. but i am sure there are better ways of doing it.
In this answer it show how to do it if the hour is a whole number (example 2PM)
if( 'now' is larger then 'a given time' ){
}