__construct()
__construct(string $field_from,string $field_to,string $value,boolean $is_or = false)
Create a date range filter
It filters if the requested item is valid at a certain time
Parameters
string | $field_from | The start date field name |
string | $field_to | The end date field name |
string | $value | The date start value in format parsable by strtotime() |
boolean | $is_or | Merge with other filters with or |