Help with Comparing Dates


New member
Your code has no output. I know this is a piece of code, but... is your $day variable defined or initializated !?

Anyways, i don't know how it will work, but i think if you just use/compare the minutes (in this special case) you can have a better comparison/result.
Give it a try first!