Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql last 7 days including today

SELECT * FROM `account` 
WHERE DATE(created_at) > (NOW() - INTERVAL 7 DAY)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #days #including #today
ADD COMMENT
Topic
Name
4+3 =