# A feature that tells you Happy Birthday

**URL:** <https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785>\
**Category:** Ask for Help\
**Created:** [February 14, 2021, 11:39pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785 "2021-02-14T23:39:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_ffwpu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/_ffwpu/32/16380_2.png) [@\_ffwpu](https://community.glideapps.com/u/_ffwpu)\
**Post date:** [February 14, 2021, 11:39pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/1 "2021-02-14T23:39:13Z")

</div>

How can I do a feature that says Happy Birthday to you?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 15, 2021, 1:04am UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/2 "2021-02-15T01:04:09Z")

</div>

Create a template that says Happy birthday to {X} and replace {X} by the user’s name.

Have a text component that only shows when user’s birthday is today.

---

<div class="post-metadata">

**Author:** ![\_ffwpu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/_ffwpu/32/16380_2.png) [@\_ffwpu](https://community.glideapps.com/u/_ffwpu)\
**Post date:** [February 15, 2021, 1:12am UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/3 "2021-02-15T01:12:17Z")

</div>

Is there a way? It’s attractive. Could you please inform me more?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 15, 2021, 3:37am UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/4 "2021-02-15T03:37:25Z")

</div>

As @ThinhDinh said, you’ll need a [Template Column](https://docs.glideapps.com/all/reference/data-editor/computed-columns/template-column), and you should also look at [Component Visibility.](https://docs.glideapps.com/all/reference/conditions/component-visibility)

Read up on those, and have a try at doing it yourself. If you get stuck, come back and show what you have and how far you got, and we’ll help with the next steps.

---

<div class="post-metadata">

**Author:** ![Charliem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charliem/32/19185_2.png) [@Charliem](https://community.glideapps.com/u/Charliem)\
**Post date:** [June 16, 2021, 7:50pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/5 "2021-06-16T19:50:12Z")

</div>

Don’t think this will work

When I have attempted in the past it hasn’t worked because their birthday is the year they were born

So if you were to make a visibility TODAY it wouldn’t as the year wouldn’t be 2021

Please let me know if you find a way, thanks

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 16, 2021, 7:56pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/6 "2021-06-16T19:56:00Z")

</div>

You’ll need to use math column that converts the birthdate to a number. I use this formula:

`month(birthdate)*100+day(birthdate)`

Do the same in a new math column for today:

`month(now)*100+day(now)`

Then compare the two columns. If equal, then it’s their birthday!

---

<div class="post-metadata">

**Author:** ![Charliem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charliem/32/19185_2.png) [@Charliem](https://community.glideapps.com/u/Charliem)\
**Post date:** [June 16, 2021, 8:15pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/7 "2021-06-16T20:15:17Z")

</div>

> [@Robert\_Petitto](#):
>
> `month(now)*100+day(now)`

WOW THANKS

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 16, 2021, 8:49pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/8 "2021-06-16T20:49:22Z")

</div>

No problem!

---

<div class="post-metadata">

**Author:** ![Roldy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roldy/32/36068_2.png) [@Roldy](https://community.glideapps.com/u/Roldy)\
**Post date:** [June 16, 2021, 11:00pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/9 "2021-06-16T23:00:40Z")

</div>

… And do not forget to manage who is born in Feb 29…

---

<div class="post-metadata">

**Author:** ![\_ffwpu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/_ffwpu/32/16380_2.png) [@\_ffwpu](https://community.glideapps.com/u/_ffwpu)\
**Post date:** [June 19, 2021, 3:35am UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/10 "2021-06-19T03:35:07Z")

</div>

Thanks for the good source. I don’t know how to apply it.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 19, 2021, 7:45am UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/11 "2021-06-19T07:45:18Z")

</div>

here…

- Step 1: Math column

 ![Screen Shot 2021-06-19 at 3.37.58 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/b/1bb3c8e3e870bb133c1fd1ed4a563912780813bc.png)

- Step 2: Math column

 ![Screen Shot 2021-06-19 at 3.38.10 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/0/70c83d50fad0d4d8ce5fc7757e6807962aefe46f.png)

- Step 3: if-then-else column

 ![Screen Shot 2021-06-19 at 3.41.03 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/b/cbb6a987173ad10675271cb2c9b4cfa87bf25aa4.png)

- Step 4: Template column

 ![Screen Shot 2021-06-19 at 3.38.24 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e17c07579a9ddb359fd6051d9c5d73e431992b55.png)

- Step 5: Hint component using if-then-else column to drive visibility

![Screen Shot 2021-06-19 at 3.37.23 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/3/331474753934959e9f0ffbc2df7d8fbfab02874f.png)

- Voila!

![Screen Shot 2021-06-19 at 3.43.59 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6e279561a53edb5207f579cf3bbc83716bb999c.png)

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [June 19, 2021, 3:43pm UTC](https://community.glideapps.com/t/a-feature-that-tells-you-happy-birthday/22785/12 "2021-06-19T15:43:45Z")

</div>

amazing!
