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.
Hello @hslu
At the moment there is no single block to get the day.
You could calculate it using the math blocks.
- Take the last two digits of the year.
- Add to that one–quarter of those two digits (discard any remainder).
- 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 |
- 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.
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?
Furthermore, why did you list two leap year with different values?
Are there maybe easier solution that you know of?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.