I need to check in PHP if the current time is before 2pm that day.
I\'ve done this with strtotime on dates before, however this time it\'s with a time o
strtotime
Use time(), date() and strtotime() functions:
time()
date()
strtotime()
if(time() > strtotime(date('Y-m-d').' 14:00') { //... }