To get every day of the month

I am somewhat lost but there is some method in kodular to obtain [How many days does a certain month have] You see that certain months have 30 or 31 or for example February that has until 29 or 28.

So I know I can make the user choose the last day of the month and now but I want to do it automatic, that is, when the user enters the month and the year shows how many days the month has been entered.

This is algorithm… Whar Did You try ?
The only month that changes is February. And why does it change? Because there are 6 hours left each year… and that’s why we have leap years.
The other 11 months are the same
Search about Component Clock here in the forum or Extension about date time.

getDaysOfMonths.apk (5.1 MB)

1 Like