PHP Check if time is between two times regardless of date

http://stackoverflow.com/questions/27131527/php-check-if-time-is-between-two-times-regardless-of-date