Welcome Guest, Not a member yet? Register   Sign In
SOLVED: Changed to Unix date format, now I don't know how to just show the last months entries.
#3

[eluser]Joakim_[/eluser]
[quote author="inparo" date="1221429864"]I think something like this should do the trick:

Code:
$this->db->where('entry_date >', strtotime("-1 month") );
[/quote]

Awesome! It working when using "<". Thank you a lot. Smile


Messages In This Thread
SOLVED: Changed to Unix date format, now I don't know how to just show the last months entries. - by El Forum - 09-14-2008, 11:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB