Code tool

Date Range Generator

Choose the endpoints, date rule, calendar interpretation, and output limit, then generate the list locally.

In-browser processingNo account requiredPrivacy details ↗

Dates are date-only values. UTC mode is stable across time zones; browser local mode follows your device calendar. Month steps preserve the day when possible and clamp to the last day in shorter months.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter the start and end dates.
  2. Choose every calendar day or weekdays, whether both endpoints count, and UTC or browser-local date interpretation.
  3. Set a maximum output size, generate the list, and copy it.

Explicit endpoint rule

The start and end dates are included only when Include both endpoints is selected. Otherwise both endpoints are excluded when they are present in the range.

Stable date interpretation

UTC calendar dates produce the same date-only list on every device. Browser local dates use the device time zone for display. Weekdays mean Monday through Friday.

Bounded local output

The list is generated in the browser and stops when it would exceed the chosen maximum. No dates are uploaded or stored.

GOOD TO KNOW

Common questions

What is the maximum output?

You can request from 1 to 10,000 matching dates; the default is 1,000.

Are weekends included?

Choose Every calendar day to include them, or Weekdays to keep Monday through Friday only.

Which endpoints are included?

Both endpoints are included when the checkbox is selected. With it cleared, matching start and end dates are omitted.

Does the tool use my time zone?

UTC mode is stable across devices. Browser local mode uses your device time zone; all processing remains local.