add_date_filter method

add_date_filter

Adds a date filter.

def add_date_filter(self, field_index, date_time_grouping_type, year, month, day, hour, minute, second):
    ...
ParameterTypeDescription
field_indexintThe integer offset of the field on which you want to base the filter
(from the left of the list; the leftmost field is field 0).
date_time_grouping_typeDateTimeGroupingTypeThe grouping type
yearintThe year.
monthintThe month.
dayintThe day.
hourintThe hour.
minuteintThe minute.
secondintThe second.

Remarks

If DateTimeGroupingType is Year, only the param year effects. If DateTiemGroupingType is Month, only the param year and month effect.

See Also