# Booking calendar for reservations of assets

**URL:** <https://forum.adalo.com/t/booking-calendar-for-reservations-of-assets/48866>\
**Category:** Design\
**Created:** [August 2, 2024, 4:54pm UTC](https://forum.adalo.com/t/booking-calendar-for-reservations-of-assets/48866 "2024-08-02T16:54:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![eduscvs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/eduscvs/32/25597_2.png) [@eduscvs](https://forum.adalo.com/u/eduscvs)\
**Post date:** [August 3, 2024, 6:36am UTC](https://forum.adalo.com/t/booking-calendar-for-reservations-of-assets/48866/7 "2024-08-03T06:36:14Z")

</div>

Solution is here…for every problem you encounter…there is a high chance that someone else encountered it too!

> [@How to calculate number of days from 2 date pickers](https://forum.adalo.com/t/how-to-calculate-number-of-days-from-2-date-pickers/35114):
>
> how to calculate number of days from 2 date pickers hello) I can’t understand something, I want to get qty days, in the question, the start date is the end date. What functions need to be done to calculate the number of days?

Once you get the Number of Days, you need another numeric field called Rental. Update Booking record, Rental field with a “New Formula”.

The New Formula option can be found when you select the Magic Text icon in the “Rental” field. You should scroll all the way down…

The math is INT(“Date Picker 2” -“Date PIcker 1”)x"Rental Rate"  
The INT rounds down if you have a fraction of a day. The “INT” can be found in “Functions”…all the way to the bottom of the options available for numeric fields

This should do it…

---

_[View the full topic](https://forum.adalo.com/t/booking-calendar-for-reservations-of-assets/48866)._
