Date/Time Filters

Date/Time field filters can be applied to filter your record results in the Builder and Live Apps. To understand how they work with returning records, try out the operators in our app and refer to our operator definitions in the table below.

Filters Available:

OperatorsSub-OperatorsBehavior
isN/AReturns records with the exact date/time entered
is notN/AReturns all records that do not contain the date/time entered
is beforeN/AReturns records that are before the date/time entered
is afterN/AReturns records that are after the date/time entered
is before current timeN/AReturns records before the current date and before the current time (if time values are included)
is after current timeN/AReturns records after the current date and current time (if time values are included)
is during the currentweek, month, quarter, or yearReturns records that have dates during the current week, month, quarter, or year
is during the previousNumber + days, weeks, months, years, rolling weeks, rolling months, or rolling yearsReturn records that have dates during the previous (number) of days, weeks, months, etc. depending on your sub-operator selection
is during the nextNumber + days, weeks, months, years, rolling weeks, rolling months, or rolling yearsReturns records that are during the next (number) of days, weeks, months, etc. depending on your sub-operator selection
is before the previousNumber + days, weeks, months, years, rolling weeks, rolling months, or rolling yearsReturns records that are before the previous (number) of days, weeks, months, etc. depending on your sub-operator selection
is after the nextNumber + days, weeks, months, years, rolling weeks, rolling months, or rolling yearsReturns records that are after the next (number) of days, weeks, months, etc. depending on your sub-operator selection
is todayN/AReturns records that have date values of the current day
is today or beforeN/AReturns records that have date values of the current day or before
is today or afterN/AReturns records that are during the current day or after
is before todayN/AReturns any records that are before the current day
is after todayN/AReturns any records that are after the current day
is blankN/AReturns all records that have a blank date/time value
is not blankN/AReturns all records that have a value included for the date/time field

Tip: Check out our Date/Time Filters App to learn how the below operators return records with our provided example data tables.

Rolling Dates

Weeks and months in apps are calendar weeks and months.

A calendar week is defined as Sunday through Saturday. A calendar month is defined as the first through the last day of the month.

Rolling weeks, months, and years add more flexible date choices:

filteringrecords9

Time

An "Any time" checkbox is available in the Builder and in the Live App where you can select "Any time" if you do not need to narrow down your filtered results to a specific time. An "Any date" checkbox is also available:

datetimefilters1

Note: The "Any time" selection and time input will not be available if you have chosen to ignore time in the Date/Time field's settings.

Additional Notes:

  • When utilizing the "is after the next" filter with the "months" option, the results will encompass dates from the next month, but for example, if the current month has 31 calendar days, the 31st will be part of the returned records.

  • You can apply multiple filters, however, the dropdown selection for and/or will apply to all of the following filters added.

  • We encourage Knack users to experiment with different filter operators to better understand their impact on data retrieval. Check out our date/time filters example app to get an idea of how each operator returns records.