I\'m comparing a date with current date(i.e. today\'s date). It is expected that the error should come only when the date to be compared is greater than today\'s date. It sh
I think you need to compare date in 'Y-m-d' or 'd-m-Y' format. I think it is not possible to compare date in 'm-d-Y' format