[HaDe Micro Tutorial] Leap Year Indicator

You can find many articles on the Internet about how to identify a leap year. microsoft.com, wikipedia.org, earthsky.org

However, this is not a frequently used pointer. Maybe someone’s going to use the prepared equation:

I will not work without coffee.

Transparent 1. element:


Transparent 2. element:


Place element 2 under element1.

Element 2 is visible whenever the year is divisible 4, but is not divisible by 100.
Element 1 solves the exception by dividing 400.

Thanks and sorry for confusion :slight_smile:


Text 1 value YES

Text 2 value No

1 Like

It made me take one more check and found a mistake with me.

A year that is evenly divisible by 100 (for example, 1900) is a leap year only if it is also evenly divisible by 400.

In your solution, 2100 is marked as a leap. It is not right.

And I plan to keep my watch until 2100 :slight_smile: