SELECT source_id FROM tables WHERE data>UNIX_TIMESTAMP(CURDATE(?))
how to display entries for the week and month
SELECT source_id FROM tables WHERE data>UNIX_TIMESTAMP(CURDATE(?))
how to display entries for the week and month
Source: https://ru.stackoverflow.com/questions/951520/
All Articles
curdate() - interval 7 day
,curdate() - interval 1 month
dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html - Mikecurdate() - interval 1 month