in reply to Compare Dates
"<=" is for numeric comparison, you want the 'le' operator for string comparison:if ($db_date <= $bdt) { # process }
if ($db_date le $bdt) { # process }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Compare Dates
by trippledubs (Deacon) on Apr 09, 2015 at 23:00 UTC | |
by Random_Walk (Prior) on Apr 10, 2015 at 15:45 UTC | |
by choroba (Cardinal) on Apr 10, 2015 at 07:46 UTC | |
by trippledubs (Deacon) on Apr 10, 2015 at 13:02 UTC |