Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get yesterday

SELECT * FROM my_table WHERE created_at > DATE_SUB(NOW(), INTERVAL 1 DAY)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #yesterday
ADD COMMENT
Topic
Name
1+8 =