Here is simple PHP code to check the time between two times.

For this I’m using DateTime::createFromFormat¬†you can read more about DateTime here.

Posted in: PHP