Learn Bubble with 500+ tutorials, courses & AI Assistant ✨

Limited time launch offer get $80 off today

0 days 0 hours 0 minutes 0 seconds
SAVE $80 NOW
Planet No Code logo
Bubble.io CoachingFounder MentoringSponsorships
LoginLearn Bubble.io

How to: Timezone Dropdown with API

In this Bubble tutorial we demonstrate how to use the timezoneDB API to get a list of timezones and display this list in a dropdown for your Bubble app users.

Join now $19/monthLearn more
Get 500+ tutorials, a No-Code AI Assistant, 4 premium courses, and everything you need to build faster!
How to: Timezone Dropdown with API
Explore these topics...
Design
Database
Plugins
API Connector
timezonedb

With just this tutorial learn...

Unlock the power of timezones: Learn how to integrate a dynamic timezone dropdown in your Bubble app!

Master user registration: Discover how to save timezone data crucial for your app's functionality!

Elevate your Bubble skills: Create a seamless user experience with our step-by-step timezone API tutorial!

With membership you'll...

Learn how to build a ChatGPT Clone, Custom CRM for your business & SaaS Marketing website with Webflow & AI.

Unlock 500+ Bubble tutorial videos with AI powered Q&A.

Debug your Bubble app instantly with our custom trained No Code AI Assistant.

Join now $19/month
Risk-free! 14-day money-back guarantee. Cancel anytime.

Adding a Timezone Dropdown with API in Bubble

In this Bubble tutorial video, I'm going to show you how to add a time zone dropdown to a registration flow. This can be very useful if anything in your app requires you to save hard by coding a time zone for a user. But before we get started, did you know you can be a Planet No Code member? We've got over a hundred Bubble tutorial videos. Many of them are member exclusive, they can only be found on our website. And if you like videos like this, it just helps our cause if you can like and subscribe.

Using the TimezoneDB API

So, let's jump in to a time zone API. For that, I'm going to be using the API provided by timezonedb.com. The endpoint is here, I'm going to copy that. I'm going to go into my plugins and add a new API. Name this timezonedb. The authentication is a private key in the URL. And I'm going to use a get call and say get list of time zones. Then I'm going to go and get my API key. Paste it into the key value box.

Testing the API Connection

I think I can test it now. Oh, invalid API key. I think that's because they want key as the parameter name. Let's change that to key. Return to non object and you pick JSON. Okay, I think that is because if I look at the documentation here, I should say format equals JSON in the URL. So, let's do that. We could probably just add it as a parameter. Let's try that. Format JSON.

Understanding the API Response

Cool, here we go. So, we get all of this timezone data back. Tons of data. And one of the advantages of using the API call is that we don't just get the zone name. And that's what I mean by this part here. And that's what is essential for feeding back into dynamic timezone positions in Bubble. If you've gone into settings general and you've enabled timezone overrides, that's the label for the timezone that you'll need. But it also provides you with all of these GMT offsets.

Using the Timezone Data in Bubble

So, that can be again helpful for doing calculations of converting different timezones for your users. But do remember that if countries have got daylight savings or their hours, it shifts by an hour here or there, then the GMT offset is going to change depending on the time of year that you save it from this API call. But anyway, it's still very useful. And so, we can now go in noticing that use as is data. And we can go into design. We can say dynamic choices. And we can say get this of timezone.

Creating a Dynamic Dropdown

And then we get data from external API. This is the timezones. Ooh. I think we need to have timezones timezone zones. Yes, there we go. Current options zone name. Then if I preview. And now I get my list of timezones that I can pick. And again, the advantage of using the API is that we can not only save the zone name, but I can take data out, the extra data that the API provides.

Displaying Additional Timezone Information

So, I can say dropdown timezones value, GMT offset. So then if I go back here and I choose Fiji, that tells me the GMT offset of Fiji. So, there you have it. That is a very quick way of using an excellent API to get a list of timezones which can be very helpful for adding in a timezone dropdown picker to the registration flow of your Bubble app.

Table of contents

Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Your No-Code Journey Starts Here

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.

Monthly
Yearly
Member
Accelerate your Bubble app to launch
$99 / month
$19/month/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now
Member
Accelerate your Bubble app to launch
$990 / year
$149/year/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now

Frequently Asked Questions

Find answers to common questions about our courses, tutorials & content.

Do I need any coding experience?

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.

How does the AI No-Code Coach work?

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.

How long can I access the content?

As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.

What courses are included

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!

What if I get stuck on a lesson?

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.

Do you offer a money-back guarantee?

Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.

Can I cancel anytime?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

What if I want more than just tutorials & courses?

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:1 mentorship to fast-track your progress
  2. Marketing strategies tailored for no-code founders‍
  3. Product management insights to scale your startup‍
  4. Personalized support from experienced founders

‍

Still have questions?

Reach out to our dedicated team.

Contact
Services
Search Bubble TutorialsBubble.io CoursesBook Bubble.io CoachingApply for Mastery
Latest Bubble tutorials
Rerank Text By MEANING With Cohere In Bubble.io Step by Step!
Unlock RAG Providers for NO CODE AI App Development TODAY!
Better Tables with Built-in Search and Sort By in Bubble.io
Partnerships
Flusk.eu
VectorShift
Comnoco
Plumb
Toddle
Whereby
Get started with no code
AI Powered No Code AppsNo Code Web ScrapingBubble.io Plugin tutorialsBubble API Connector tutorialsStudent & Teacher DiscountBest tools for no coders
Follow us
Youtube
X
LinkedIn
Planet No Code logo
In partnership with
Queen Mary University of London Logo
© 2024 Planet No Code. All rights reserved.
Privacy PolicyTerms of ServiceCookies SettingsContact Us