CSV to html – filter data – newdates

If you have a table where you have a date-column, you might not want to show rows previous than a specific date. The filter-operator newdates solves this for you.

Original

SR.NAMEGENDERAGEDATE COUNTRY
1Dett2Male1821/05/2015Great Britain
2Nern Female1915/10/2017France
3KallsieMale2016/08/2016France
4SiuauFemale2121/05/2015Great Britain
5ShenniceMale2221/05/2016France
6ChasseFemale2315/10/2018France
7TommyeMale2416/08/2017United States
8DorcastFemale2521/05/2016United States
9AngeleeMale2621/05/2017Great Britain
10WilloomFemale2715/10/2019France

Filter data

This example below shows rows that has same or newer date than 16/05/2015! (Row 2,6 and 10 are not included)

Shortcode
[csvtohtml_create source_type="guess" source_files="free_testdata_10rows.csv" filter_col="5" filter_operator="newdates" filter_data="16/05/2015"]
SR.NAMEGENDERAGEDATE COUNTRY
1Dett2Female3616/08/2020Great Britain
3KallsieMale2016/08/2016France
4SiuauFemale2121/05/2015Great Britain
5ShenniceMale2221/05/2016France
7TommyeMale2416/08/2017United States
8DorcastFemale2521/05/2016United States
9AngeleeMale2621/05/2017Great Britain

If you don’t specify filter_data using the filter_operator newdates – all rows from current date are shown.