KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to get the result from the table, which the date should be difference of 5 from the current date. ie., specific_date column is present in my table. The format of the date is YYYY-MM-DD . I need the query something like, SELECT * FROM `table_name` WHERE DATEDIFF(NOW(), specific_date) < 5
Tags (comma-separated)
Save Edits
Cancel