[Solved] Count All Result Where Now Date + 2 Days |
Hello I would like to know if this is possible and what best way to go about it is
I have a column on my data base table calendar called date and it displays year-month-day What I am trying to do is get the total number of rows between now() and + 2 days But so far I am unable to do so PHP Code: public function test() { How could I achieve it? Update: I have found this date code below and work it with my function is it correct? Just not sure if safest way. PHP Code: public function test() {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Count All Result Where Now Date + 2 Days - by wolfgang1983 - 12-17-2015, 06:38 PM
RE: Count All Result Where Now Date + 2 Days - by skunkbad - 12-17-2015, 09:08 PM
RE: Count All Result Where Now Date + 2 Days - by Bhavesh - 12-17-2015, 10:40 PM
RE: Count All Result Where Now Date + 2 Days - by wolfgang1983 - 12-18-2015, 01:32 AM
|