Skip to content

Instantly share code, notes, and snippets.

@v9n
Created November 14, 2010 07:26
Show Gist options
  • Save v9n/675988 to your computer and use it in GitHub Desktop.
Save v9n/675988 to your computer and use it in GitHub Desktop.
Simple method to get post in current date
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