delete after 30 days in php

Solutions on MaxInterview for delete after 30 days in php by the best coders in the world

showing results for - "delete after 30 days in php"
Lucia
25 Jun 2018
1DELETE FROM archive
2WHERE STR_TO_DATE(SUBSTR(created_date, 0, 25), '%a, %d %b %Y %H:%i:%S') <
3      DATE_SUB(NOW(), INTERVAL 30 DAY);
4