# How to get a countdown for a birthday

**URL:** <https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513>\
**Category:** Get Help\
**Created:** [July 13, 2023, 8:52pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513 "2023-07-13T20:52:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AppDaan](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@AppDaan](https://forum.adalo.com/u/AppDaan)\
**Post date:** [July 13, 2023, 8:52pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513/1 "2023-07-13T20:52:23Z")

</div>

Hi,

I am just starting out!

However, I can’t seem to figure out how to get a calculation based on the Birthday field from sign up. I would like to know how many days are left untill someone’s birthday, based on the current day. I did found a post from someone, however that does not help me out (or I don’t understand it).

Anyone got any tips?

---

<div class="post-metadata">

**Author:** ![enricomilani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/enricomilani/32/30472_2.png) [@enricomilani](https://forum.adalo.com/u/enricomilani)\
**Post date:** [July 14, 2023, 2:52pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513/2 "2023-07-14T14:52:55Z")

</div>

Hey @AppDaan  
You might have a look at this old post:

> [@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?

might be the solution you’re looking for.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![AppDaan](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@AppDaan](https://forum.adalo.com/u/AppDaan)\
**Post date:** [July 14, 2023, 3:13pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513/3 "2023-07-14T15:13:26Z")

</div>

Thanks!

However, I don’t have two date pickers. A birthday is just one date picker.

---

<div class="post-metadata">

**Author:** ![enricomilani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/enricomilani/32/30472_2.png) [@enricomilani](https://forum.adalo.com/u/enricomilani)\
**Post date:** [July 14, 2023, 6:32pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513/4 "2023-07-14T18:32:06Z")

</div>

The other date picker being the one holding today’s date…  
You can get the DOB and add 1y to get the next birthday and then calculate the difference as outlined in the post.

The second date picker can be defined as hidden so you won’t see it on the UI

Enrico

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [July 24, 2023, 6:33pm UTC](https://forum.adalo.com/t/how-to-get-a-countdown-for-a-birthday/40513/5 "2023-07-24T18:33:04Z")

</div>

Closed on July 24, 2023, 6:33pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
