# Date Launcher get the acutal Weekday of the picked Date

**URL:** <https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560>\
**Category:** Questions about Thunkable X\
**Created:** [November 13, 2023, 12:59pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560 "2023-11-13T12:59:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hslu](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hslu](https://community.thunkable.com/u/hslu)\
**Post date:** [November 13, 2023, 12:59pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560/1 "2023-11-13T12:59:52Z")

</div>

Is there a possiblity to get the acutal name of the date that the user select through the date launcher?  
For example if the user selects the 10th of November 2023, it should also show me that it was a friday.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 13, 2023, 9:28pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560/2 "2023-11-13T21:28:25Z")

</div>

Hello @hslu  
At the moment there is no single block to get the day.  
You could calculate it using the math blocks.

1. Take the last two digits of the year.
2. Add to that one–quarter of those two digits (discard any remainder).
3. Add to that the day of the month and the Month Key number for that month:

| January = 1 | June = 5 |
| --- | --- |
| …leap year = 0 | July = 0 |
| February = 4 | August = 3 |
| …leap year = 3 | September = 6 |
| March = 4 | October = 1 |
| April = 0 | November = 4 |
| May = 2 | December = 6 |

1. Divide the sum by 7. The remainder is the day of the week! One is Sunday, two is Monday, and so on. If there is no remainder, the day is Saturday.

---

<div class="post-metadata">

**Author:** ![hslu](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hslu](https://community.thunkable.com/u/hslu)\
**Post date:** [November 15, 2023, 2:43pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560/3 "2023-11-15T14:43:37Z")

</div>

Hi ioannis

Thanks for your help.  
Can you maybe show me an example how you exactly calculate it, because somehow I dont get the anticipated results.

Maybe its the first step that confuses me. What do you mean bei take the last two digits of the year?  
Is it in this case 23 or 2+3?

---

<div class="post-metadata">

**Author:** ![hslu](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hslu](https://community.thunkable.com/u/hslu)\
**Post date:** [November 15, 2023, 2:49pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560/4 "2023-11-15T14:49:07Z")

</div>

Furthermore, why did you list two leap year with different values?

Are there maybe easier solution that you know of?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 13, 2024, 2:49pm UTC](https://community.thunkable.com/t/date-launcher-get-the-acutal-weekday-of-the-picked-date/2698560/5 "2024-02-13T14:49:57Z")

</div>

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