help!what's the best way to compare times in php? lets say that i've an appointment from 8:15 to 9:15. i input a time duration, take for example i am checking whether i'm free, which is 2 hours. what's the best way to show that 8:15 to 9:15 is not a time which i am free?
the date format doesn't matter whether it is php (unix timestamp) or mysql.
if this might be too complex, what is the best way to compare 2 times?
thanks a lot!!!!!!!!