Filtering Repeating Groups by Date - Only Showing Today's Events
In this Bubble tutorial we explain how to use constraints on a repeating group to filter your Bubble database data by date. In this Bubble.io tutorial we demonstrate how to show only events occurring on the current date.
Unlock the power of date filtering: Learn how to show only today's events in your Bubble repeating groups!
Master Bubble's calendar features: Discover the secret to displaying date-specific events with ease.
Take your Bubble app to the next level: Create dynamic event lists that automatically update daily.
Filtering Repeating Groups by Date in Bubble
In this Bubble tutorial video, I'm going to show you how you can filter a repeating group using dates to only show events occurring on today's date. But before I do that, did you know that we've got over 100 Bubble tutorial videos, some of which you cannot find on YouTube, exclusive on our website planetnoko.com, and currently you can access all of them for a year for just $99.
Setting Up the Database
Let's get back to our repeating group. So I've created three events in my database. They just have a label and a date field and you can see them in my calendar and today's date of recording is August the 3rd. And so how do I set up this repeating group to only show events happening on August the 3rd? Well, let me show you.
Configuring the Repeating Group
So I'm going to go on to my repeating group. At the moment, I've just got my event data type and I've got data source. I'm going to add in a constraint. And so I'm going to say date is equal to or greater than current time date rounded down to day. And so that's saying is the date of this event greater than midnight at the start of today? Let's add in a second constraint.
Adding Time Constraints
This time we say date is less than, we say current date time and this time we round down to day again. But now we add, or we can add days or we can add 24 hours. Now this is technically going to make a difference if your current time zone is going to go through a time zone shift in the next 24 hours. So that's something to bear in mind but you can achieve it either way. In this case, I'm just going to say days 1.
Finalizing the Filter
So now I say both of these are the and statements. So is it greater than midnight at the start of today but less than the start of today plus one day? Okay, let's check out the preview to see if that has worked. So we should just say walk the dog.
Conclusion
Okay, and there you go. That's how to add in date constraints to a repeating group. In particular, how to filter down a list of events to only show events that are occurring today.
Get the Complete Bundle for Just $350 $99
Access 3 courses, 400+ tutorials, and a vibrant community to support every step of your app-building journey.
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 400+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.
Save over 70%!
Valued at $80
Valued at $85
Valued at $30
Valued at $110
Valued at $45
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
Have questions?
We have answers!
Find answers to common questions about our membership plans, programs, and more.
We're here to help you launch your no code SaaS. Reach out to the team and we'll double check our vast library for useful content. We'll advise you on how we'd tackle the same problem and there's a good chance we'll record the video to help the wider community.
As a Planet No Code member, you'll receive a discount on our Bubble coaching sessions. Monthly members receive a 10% discount, while Annual members receive a 17.5% discount. To redeem your discount, simply log into your account and book a coaching session through our platform.
Our 8-week intensive mentorship program is designed to provide personalized guidance and support to help you accelerate your startup journey. You'll be matched with a startup expert who will work with you one-on-one to set goals, overcome challenges, and make rapid progress.
To apply for the Mastery Program, simply click the "Request Invitation" button on our pricing page and fill out the application form. Our team will review your application and schedule a call with you to discuss your goals and determine if the program is a good fit for your needs.
We accept all major credit cards, including Visa, Mastercard, American Express, and Discover.
While we don't offer a free trial, we do provide a 14-day money-back guarantee. If you're not completely satisfied with your membership within the first 14 days, simply contact our support team, and we'll issue a full refund.