I want to filter the result of the records within the period, but i can't find any example of how to use the where clause to get the exact range of data.
These are the data posted from form:
[monthRangeStart] => 12
[yearRangeStart] => 2013
[monthRangeEnd] => 12
[yearRangeEnd] => 2013
and the following is the format of updated_at timestamp
2013-12-18 07:22:34
How should i finish the line of code
$trans = Transaction::where('updated_at', )