FOFModelFieldDate::interval
Interval date search
Signature
public function interval(string
$value,
[string|array|object
$interval = true,
[boolean
$include = true]] )
Parameters
-
$value
- The value to search
-
$interval
- The interval. Can be (+1 MONTH or array('value' => 1, 'unit' => 'MONTH', 'sign' => '+'))
-
$include
- If the borders should be included
Returns
- string
- the sql string