Home/Blog/Guide & Examples

Leap Year Calculation (4 / 100 / 400) as a Structogram

2026-11-224 min read

The Gregorian Leap Year Rule

A year is a leap year if it is divisible by 400, or divisible by 4 and not by 100.

Live Example (DIN 66261)

Rendered directly in DIN 66261 — click to open and edit in the workspace.

istSchaltjahr(jahr)Ausgabe: "Schaltjahr"Ausgabe: "Kein Schaltjahr"(jahr MOD 4 == 0 UND jahr MOD 100 != 0)ODER (jahr MOD 400 == 0)wahrfalsch

More Articles