Simple Time Tools
← All tools
🎰 Time Math

Random Date Generator

Generate a random date within any date range you choose — useful for testing, games, or just picking a date at random.

About this tool

Generating a genuinely random date within a specific range is a narrower need than it might sound — it comes up in software testing (generating sample data that needs to include arbitrary valid dates), in games or randomized decision-making, and occasionally just out of curiosity about picking a date at random from history or the near future.

The reason this deserves to be a dedicated small tool rather than something built ad hoc is the uniformity: picking a random date correctly means every date in the range needs an equal chance of being selected, which is easy to get subtly wrong if you're not careful about how the randomization is implemented — a naive approach can accidentally bias toward certain dates depending on how the range and randomness interact.

This tool handles that correctly: set a From and To date range, and it picks a date within that range with a uniform, unbiased chance for every day — useful for generating test data, settling a decision that benefits from genuine randomness, or just seeing what date the calendar lottery lands on within whatever range you're curious about.

How to use it
  1. Set a From and To date range.
  2. Press Generate.
  3. See a randomly chosen date within that range.
FAQ
Is the distribution uniform?

Yes — every date in the range has an equal chance of being picked.

Can the range span multiple decades?

Yes, any range your browser's date picker allows.

Related tools