How do I compare two different times with PHP?

Gabriel

New member
So I have a time in format j F that we call $event.

How do I compare it with the current server time? Can the server time be called in the same format and compared?

I want to do different things depending if the time is before or after $event.
 
Back
Top