Common Years
List every common year in a year range in your browser. Same shape as leap years, exact worked example included.
What this common years does
The page lists every common year between the two years you paste, endpoints included: 2024 to 2028 prints 2025, 2026 and 2027 on their own lines. The rule is the leap rule read backwards — 1900 lists as common and 2000 does not. Line order never matters: the earlier year is taken first, so swapping the two lines prints the same list. A line that is not a whole year from 1 to 9999 is refused with its line number and the expected form.
How to use it
Common Years: paste the first year into the box above, and press Run to get the common years below.
Worked example
Input:
2024
2028
Output:
2025
2026
2027
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads first year and returns common years; reloading the page discards both.
The page lists every common year between the two years you paste, endpoints included: 2024 to 2028 prints 2025, 2026 and 2027 on their own lines. The rule is the leap rule read backwards — 1900 lists as common and 2000 does not. Line order never matters: the earlier year is taken first, so swapping the two lines prints the same list. A line that is not a whole year from 1 to 9999 is refused with its line number and the expected form.
List every common year in a year range in your browser. Same shape as leap years, exact worked example included.
How to use it
Common Years: paste the first year into the box above, and press Run to get the common years below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads first year and returns common years; reloading the page discards both.
What to Expect
Best for
- Converting first year to common years when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
2024 2028
Sample output
2025 2026 2027
Frequently asked questions
How do I use the common years?
Common Years: paste the first year into the box above, and press Run to get the common years below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.