Random Date Generator

–ISO 8601, range inclusive
Use caseSetup
Giveaway drawcontest start to deadline, draw 1
Audit samplingquarter start to quarter end, batch of 10
Test datawide range, batch of 10
Whose turnpayroll period, draw 1
The random date draws from MDN Math.random-documented Math.random, scaled into your chosen range with both endpoints included. Honest caveats: it is uniform across calendar days, so weekdays and weekends appear in true proportion - if you need business days only, redraw until one lands; and repeated draws are independent, so the same date twice in a batch is possible rather than broken.
Uniform and inclusive: every real calendar day in the range - leap days included - has the same chance, drawn fresh each round with no memory. ISO 8601 output (2026-03-14) parses in every spreadsheet and database. Fair-draw disclaimer: uniform random, not a cryptographic source. Runs entirely in this browser tab.
Chance companions: the coin flip for two-way calls, dice roller for the tabletop, list randomizer when the entries themselves are the draw, and random number generator for bare ranges.

Set a start and an end date, hit generate, and the tool deals a random day from between them - one at a time or a batch of ten, written in clean ISO format (2026-03-14) so spreadsheets, databases and forms all accept it without argument. Giveaway draws, random sampling for audits, test data for developers, and whose-turn-is-it calendars are the working use cases.

The randomness is a fresh draw per date, uniform across the range including both endpoints - no leap-year surprises, no weekend or weekday bias unless you ask for it later. Everything runs in this browser tab: your dates never upload, and the drawn list stays on your device until you copy it out.

How to use

  1. Set the start and end dates - the range is inclusive, so both endpoint days can be drawn.
  2. Hit generate for a single date, or draw a batch of ten for sampling and giveaway shortlists.
  3. Copy the ISO list straight into a spreadsheet or form; the format parses everywhere.

Worked examples

Any day of 2026, uniform

Set the span to 2026-01-01 through 2026-12-31 and the draw has 365 equally likely outcomes - each date takes a 1-in-365 (0.274%) shot, which is the definition of a uniform sample across the year. Researchers use exactly this shape of draw to pick audit days: the calendar has no hot streaks, so neither does the sample.

The February 29 question

Over a four-year span (1461 days including one leap day), February 29 comes up once - a 1-in-1461 (0.068%) draw, the rarest date in any multi-year range. The generator handles the leap arithmetic natively: a range crossing 2028 includes the 29th with its exact thin probability, and the ISO output makes the date unambiguous once drawn.

The sampler with boundaries

A clinical-style sample that needs 12 random days inside a quarter: set the span, draw 12 with the count control, and the list is the sample frame. The one weakness is repeats - the draws are independent, so a day can appear twice; for sampling without replacement, redraw duplicates by hand, which at quarter scale is a five-second fix.

Frequently asked questions

How do I generate a random date between two dates?

Set the start and end above and hit generate. Each draw picks one day uniformly from the range - both endpoints included - so a month-long range gives every day the same one-in-30ish chance. Generate repeatedly for fresh dates, or draw the batch of ten when you need a shortlist at once.

Are leap years handled?

Yes - the arithmetic runs on actual calendar days, so February 29 has its fair chance in leap years and simply does not exist in common years. A range spanning several years draws from every real day in it, leap days included; a range ending February 28, 2025 never produces a day that was not there.

What can I use random dates for?

Giveaway and contest draws (a winner is a date), audit sampling (pull ten random days from a quarter and review those), developer test data (forms and databases eat ISO dates), classroom probability demos, and the eternal office question of whose turn it is to restock the coffee. Uniform random is the honest default for all of them.

Is the randomness fair?

Each date is an independent fresh draw from a uniform distribution over the range - no memory, no clumping by design, no preference for weekends. Over a small batch, streaks and gaps are ordinary chance; over a large batch the days even out. It is not a cryptographic source, but for draws, sampling and test data it does exactly what the odds require.

Why ISO format - 2026-03-14?

Because it is the one date format every system agrees on: ISO 8601 sorts correctly as text, parses in every spreadsheet, database and programming language, and cannot be confused with the month-day chaos of 03/14 or 14/03. Draw in ISO, reformat later if your audience insists - the converter's output never needs fixing first.

Can I use it to pick winners fairly?

For anything with stakes - a giveaway, an audit sample, a order in which names get checked - the honest answer is that this generator is a convenience draw, not an auditable one: it uses the browser’s standard random source rather than the cryptographic class, and it keeps no record of what it drew. For a raffle that has to survive an argument, use the cryptographic tools on this site and screenshot the result.

Related tools