GENERATORS · WEB CRYPTO RANDOMNESS

Random Date Generator

Pick a random date within a range, with the end date optionally included.

Result

Set the options and press the button to generate a result.

Options

About this tool

Set a start and end date and get a random date inside the range, which suits test data, rota draws, and picking a day for something. Including the end date is a toggle, because "within this month" and "up to the last day" differ by one at the boundary. Dates are handled as calendar days rather than timestamps, so there is no browser time zone involved and no chance of an off-by-one across midnight.

How it works

  1. Set the start and end dates.
  2. Decide whether the end date is included.
  3. Generate — repeatedly if you need several.

Limits and fairness

Works on calendar days and produces dates only, never times. Whether the end date counts is your choice.

Privacy

Lists, settings, and results live only in this browser's memory. Session history is cleared when you leave or reload. Nothing is uploaded, persisted, or written to the URL.

Frequently asked questions

Does it generate a time as well?
No, dates only. Adding a time brings in time zones, where one timestamp can be two different dates depending on where you are, and most uses of this tool want a day rather than an instant. Pair it with the random number tool if you also need hours and minutes.
Is every day in the range equally likely?
Yes. The range is converted to a continuous count of days and sampled uniformly with Web Crypto across that integer range, so no day is favoured and differing month lengths introduce no bias.