# Need Help! How can I save these ranges for different days in my database

**URL:** <https://forum.bubble.io/t/need-help-how-can-i-save-these-ranges-for-different-days-in-my-database/313469>\
**Category:** Database\
**Created:** [March 20, 2024, 7:44pm UTC](https://forum.bubble.io/t/need-help-how-can-i-save-these-ranges-for-different-days-in-my-database/313469 "2024-03-20T19:44:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devansh\_21](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Devansh\_21](https://forum.bubble.io/u/Devansh_21)\
**Post date:** [March 20, 2024, 7:44pm UTC](https://forum.bubble.io/t/need-help-how-can-i-save-these-ranges-for-different-days-in-my-database/313469/1 "2024-03-20T19:44:11Z")

</div>

![Screenshot 2024-03-21 at 1.10.39 AM](https://us1.discourse-cdn.com/bubble/original/3X/7/8/7868a77c6fabe93176aaf2117a45f6a5af4a57c7.png)  
I have built the UI for this, now I want to understand how can I save these date ranges in any user.  
Its a appointment booking app.  
These dates are derived from a option set type text.

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [March 21, 2024, 12:04am UTC](https://forum.bubble.io/t/need-help-how-can-i-save-these-ranges-for-different-days-in-my-database/313469/2 "2024-03-21T00:04:35Z")

</div>

Hi @Devansh_21,

If those times are tied to specific dates, then I’d suggest familiarizing yourself with [Bubble’s built-in **date range** data type](https://manual.bubble.io/core-resources/data/operations-and-comparisons#date-range-type). It’s ideally suited to booking scenarios. For your purposes, you can think of it as a “time slot” data type. There are a number of operators available for determining if time slots overlap or contain specific date/time values, etc.

**However** , if those times are _not_ tied to specific dates and represent **time-only** values - i.e. specific times on specific days of the week (but not specific _dates_) - then things can get a bit more tricky, especially if your users will be across different time zones.
