I have an if statement that will compare the input date with the system date.
$Date > date('m/d/Y')
The problem is that when I input 12/16/2012
it will throw an error that the date is greater than the date today. I don’t know what the problem in my if statement is. I have a try
and catch
inside that function that will catch any InputException.