Hi,
I am building a report system and we need to make overviews, statistics and others like that.
User:
Selects an interval ($start
- $end
). The format is like 2014/07
Baclend:
If (for example) the both the $start
and the $end
is 2014/07
, we have to get all the rows created in July of 2014.
Any tips how can I do that with Eloquent?
Thanks, B.
did you store your date as timestamp?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community