Php – How to compare two different date AND timestamps in smarty
I can't find a solution to this: I only want to compare two date and timestamps with eachother like this -> {if $CONFIG.ENDDATE lte $smarty.now|date_format:"%Y%m%d %H:%M"} $CONFIG.ENDDATE and $smarty.now are Strings (Like this: string(14) "20231218 16:02"). Unfortunately, it doesn't work…