cwilkey
10-24-2005, 01:30 PM
Hello. I need help with the following statment:
SELECT * FROM community WHERE date BETWEEN curdate() AND (curdate()=1)
It doesn't work. CURDATE() prints yyyy-mm-dd and CURDATE()+1 prints yyyymmdd.
Is there anyway to make the formatting match up?
SELECT * FROM community WHERE date BETWEEN curdate() AND (curdate()=1)
It doesn't work. CURDATE() prints yyyy-mm-dd and CURDATE()+1 prints yyyymmdd.
Is there anyway to make the formatting match up?