Date Offset for Current Date Filtering | SP Page Builder (Pro) - Documentation | JoomShaper

SP Page Builder (Pro)

Updated Last: 08 May 2026

Date Offset for Current Date Filtering

The Date Offset feature lets you filter dynamic content based on a date field relative to today's date. This is useful when you want to show content that is upcoming, already passed, or scheduled within a specific time window.

Step 1: Navigate to the Filters Panel

From your Collection addon's General settings, navigate to the Filters section and click the Filters button to open the Filters panel.

Step 2: Select a Date-Based Field

Under Conditions, click the Field dropdown and select a parameter that contains a date or time value (only if your collection contains Date/Time field).

Step 3: Choose a Condition

Select how the date field should be compared to the current date. Here is a breakdown of each condition and when to use it:

  • Equals: Shows content where the date matches exactly the current date.
  • Not Equals: Shows all content except what falls on the current date.
  • Is Before: Shows content whose date is earlier than the current date.
  • Is After: Shows content whose date is later than the current date.

Step 4: Set the Date Type to Current Date

Set the Date Type to Current Date. This tells the filter to calculate dates relative to today.

Step 5: Enter the Offset

In the Offset field, enter a number to shift the date calculation forward or backward from today. This can be either negative (e.g -1) or positive (e.g 1) value.

Offset Examples According to Conditions:

  • Equals: If the current date is May 7th, Offset 0 shows only content scheduled for May 7.
    Offset 7 shows only content scheduled within the current date and 7days from the current date.
    Offset -1 shows only content scheduled for May 6 as well as May 7.
  • Not Equals: If the current date is May 7th, Offset 0 shows everything except content scheduled for May 7.
    Offset 7 shows everything except content scheduled for the next seven days from May 7.
    Offset -1 shows everything except content scheduled for May 6 and May 7.
  • Is Before: If the current date is May 7th, Offset 0 shows only content whose date has already passed. 
    Offset 7 shows content scheduled 7 days earlier from the current day. 
  • Is After: If the current date is May 7th, Offset 0 shows only content scheduled after today. 
    Displays content from today through the next 7 days.

Step 6: Apply the Filter

Once you have configured the Field, Date Type, Condition, and Offset, click the Apply button to activate the filter. 

Your dynamic content will now display only the records that match your date criteria.