Filter on date : date_start and date_end

Filter on date : date_start and date_end

More examples in order to filter entries on a starting date using date_start. All accepted input of PHP function strtotime will work. date_end parameter works the same.

Examples

[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" chart_js_options="title: {display: true, text: '22 April 1980 <-> 12 Jan 2018'}" height="400px" custom_search_criteria='{"date_start":"22 April 1980","date_end":"12 Jan 2018"}']


[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" height="400px" chart_js_options="title: {display: true, text: '-4 days'}" custom_search_criteria='{"date_start":"-4 days"}']

[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" height="400px" chart_js_options="title: {display: true, text: '-2 weeks'}" custom_search_criteria='{"date_start":"-2 weeks"}']

[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" height="400px" chart_js_options="title: {display: true, text: '-1 month'}" custom_search_criteria='{"date_start":"-1 month"}']

[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" height="400px" chart_js_options="title: {display: true, text: 'last Monday'}" custom_search_criteria='{"date_start":"last Monday"}']

[gfchartsreports gf_form_id="6" color_set="random" position="float" include="1" type="random" height="400px" chart_js_options="title: {display: true, text: '-1 week 2 days 4 hours 2 seconds'}" custom_search_criteria='{"date_start":"-1 week 2 days 4 hours 2 seconds"}']

Similar Posts: