Skip to content

PHP code snippet – How to fetch days old records mysql?

SELECT * FROM table_name 
WHERE date_time + INTERVAL 90 DAY <= NOW() 
See also  TypeScript code snippet - How to get all the elements in Hashtable java?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.