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  How to convert string to space separated int in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

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