Welcome Guest, Not a member yet? Register   Sign In
[Solved] Count All Result Where Now Date + 2 Days
#4

(12-17-2015, 09:08 PM)skunkbad Wrote: Maybe this:


Code:
SELECT * FROM `calendar` WHERE `date` BETWEEN NOW() AND ( CURDATE() + INTERVAL 2 DAY );

How would I do it the active record way? with the between etc
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: Count All Result Where Now Date + 2 Days - by wolfgang1983 - 12-18-2015, 01:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB