Created
November 14, 2010 07:26
-
-
Save v9n/675988 to your computer and use it in GitHub Desktop.
Simple method to get post in current date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT COUNT(*) | |
FROM rico_bb_topics | |
WHERE TO_DAYS(topic_start_time)=TO_DAYS(CURDATE()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment