Error!

MySQL Error: Incorrect DATE value: '2018/02/29'
SQL Statement: select count(*) as total_records from (SELECT 1 FROM contents JOIN content_types on contents.content_type_id = content_types.id WHERE content_type_id IN ('2487') and contents.published=1 and publish_date <= '2024-04-25 18:03' and date(publish_date) >= '2018/02/28' and date(publish_date) < '2018/02/29' and contents.magazine_id=9 ORDER BY publish_date desc ) as t