how to comare created_at date to simplae date in php code example
Example: date comparison function in php
Select if(Date('2020-10-01') > Date('2020-11-01'), '1', '2' ) as rslt_date
Select if(Date('2020-10-01') > Date('2020-11-01'), '1', '2' ) as rslt_date