How to Count Only Weekdays (Monday-Friday) in Bubble.io No Code Apps
Counting only weekdays in your Bubble.io no code app requires understanding how Bubble handles day extraction and implementing proper filtering constraints to exclude weekends from your calculations.
Understanding Bubble's Day Extraction System
Bubble.io uses an index-based system for days of the week when you extract the day from a date. Sunday returns 0, Monday returns 1, Tuesday returns 2, and so on through Saturday which returns 6. This numerical system is the foundation for filtering out weekends in your no code app.
To extract the day from any date field in Bubble, you use the extract day function on your date field. This will return a number between 0 and 6 representing the day of the week.
Filtering Weekdays Using Constraints
To count only weekdays, you need to exclude both Saturday and Sunday from your date calculations. Since Sunday equals 0 and Saturday equals 6, you can filter your date list using these constraints:
Day is not 0 (excludes Sunday)
Day is not 6 (excludes Saturday)
When working with a date range or list of dates, you can filter the list and apply these constraints to the extracted day value. This ensures only Monday through Friday dates remain in your filtered results.
Counting Weekdays in Date Ranges
For counting weekdays within a specific date range, you can use a date picker or define your own date range parameters. Start with your date range as a list, then filter that list using the weekday constraints mentioned above.
After filtering your date list to exclude weekends, you can use Bubble's count function to get the total number of weekdays. This gives you a numerical result that represents only the business days within your specified range.
If you need to display the weekday dates, you can format the filtered list using the join with function and include line breaks between entries for better readability.
Database Query Applications
When querying your database for records created on weekdays only, you can apply the same filtering logic to your search constraints. Add constraints to your database search where the creation date's extracted day is not 0 and not 6.
This approach works particularly well for business applications that need to analyze activity during working hours, calculate business day intervals, or generate reports that exclude weekend data.
Workflow Implementation for Weekday Calculations
In your Bubble.io workflows, you can implement weekday counting for various scenarios such as calculating project timelines, determining service delivery dates, or scheduling automated tasks for business days only.
Create custom states or database fields to store your weekday counts, and use the filtering technique within your workflow actions to ensure accurate business day calculations throughout your no code application.
Remember that this method works with any date field in your Bubble app, whether it's user-generated dates, system timestamps, or imported date data from external sources.
Learn more with Bubble tutorials

Bubble.io Date filter: This Week

How to filter Event dates by week in Bubble

How to count just weekdays in Bubble.io
Hi, I'm Matt 👋
My Journey
- Discovered Bubble.io in 2017 while working as a WordPress web designer.
- Transitioned into a full-time Bubble coach and tutor with over 7 years of experience.
Achievements
- Helped hundreds of students turn their app ideas into reality.
- Over 37,000 YouTube subscribers and 1,200,000+ views on tutorial videos.
Why Learn from me
- Real-World Experience: Built internal tools, side projects, and collaborated with entrepreneurs using Bubble.io.
- Proven Success: Students have launched successful apps, some even selling their creations.
- Passionate Educator: Committed to your success and eager to share hard-won insights and strategies.

The best way to learn Bubble.io?
Build No Code Confidently
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 500 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.
Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.
Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.
Forever. With our lifetime membership, you get unlimited access to all videos, our growing course library, and the AI No-Code Coach. Pay once, and it’s yours for life. No subscriptions, no ongoing fees.
Your subscription includes:
- Bubble Beginner Essentials – Get up and running fast.
- Build a ChatGPT Clone – Integrate AI into your no-code apps.
- Build Your SaaS Website with AI – Learn to create a scalable startup site.
- Develop a Custom CRM App in Bubble - Learn database relationships with a CRM.
Plus, new tutorials every week!
The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.
Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:
- 1:1 mentorship to fast-track your progress
- Marketing strategies tailored for no-code founders
- Product management insights to scale your startup
- Personalized support from experienced founders