"<=" is for numeric comparison, you want the 'le' operator for string comparison:if ($db_date <= $bdt) { # process }
if ($db_date le $bdt) { # process }
In reply to Re: Compare Dates
by runrig
in thread Compare Dates
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |