stevequal Posted August 17, 2007 Share Posted August 17, 2007 How do I select rows created yesterday from my MYSQL database? I have worked out the code for today: "DATE_SUB(CONCAT(CURDATE(), '00:00:00'), INTERVAL 0 DAY) <=postDateCreated" Thanks in advance.. Steve. Quote Link to comment https://forums.phpfreaks.com/topic/65391-how-do-i-select-rows-created-yesterday-from-my-mysql-database/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.