Random Date Generator
Set a start and an end date and this draws random dates from that range, inclusive of both ends, the moment the page loads. The seven day toggles keep the draw to the days you want, no repeats is on by default so a list of dates has no duplicates, and a seed makes any draw repeatable. Up to 1,000 dates a press, in ISO, US, day-first or long form, with copy and a CSV of the date and its weekday. It runs in your browser, with no account and nothing uploaded.
3,652 days in this range, inclusive of both ends. Every one of them can be drawn.
Press Space to draw again without reaching for the mouse. Copy takes the dates as text, one a line; Copy CSV and Download take a two-column sheet of the date and its weekday. Leave the seed box empty for a fresh draw every time, or type a whole number to get the same dates back later from the same settings.
Common questions
- How do I generate a random date between two dates?
- Put the two dates in the Start and End boxes and press Generate. Both ends are inside the range, so a start of 1990-01-01 and an end of 1999-12-31 can return either of those days as well as everything between them. Count sets how many dates one press draws, from 1 to 1,000, and the range itself runs from 0001-01-01 to 9999-12-31.
- Can I draw only weekdays, or only weekends?
- Yes. The Mon to Fri and Weekends buttons set the filter in one press, and the seven day toggles under the readout set any combination you like, such as Mondays and Fridays only. The draw is then uniform across the days that pass the filter, and the line under the toggles says how many of the days in your range those are. If no allowed day falls in the range at all, the tool says so instead of returning nothing.
- Can I get the same random dates again?
- Type a whole number in the Seed box, or press New seed to be given one. The same seed with the same range, count, filter and repeat setting gives the same dates every time, on any machine. Leave the box empty and each draw comes fresh from your browser's cryptographic generator instead, which is what the word crypto in the box means.
- Will it ever give me the same date twice?
- Not with No repeats selected, which is the default: every date in the draw is different. Switch to Allow and each date becomes an independent draw, so a repeat is possible, which is what you want when you are simulating events rather than picking distinct days. Asking for more distinct dates than the range holds is refused with the number it does hold, rather than quietly handed back short.
- What can I do with the dates once they are drawn?
- Copy takes them as plain text, one a line, in whichever of the four formats is selected: ISO (1994-08-17), US (08/17/1994), day first (17/08/1994) or long (August 17, 1994). Copy CSV and Download take a two-column sheet of the date and its weekday, with the header row included, ready for a spreadsheet. The dates can be listed in draw order or earliest first.
- Does it handle leap days and daylight saving correctly?
- Yes. Every date here is a whole number of days rather than a clock time, so 29 February 2024 sits in the pool like any other day, and a weekend where the clocks change is neither skipped nor counted twice. That is the bug in a date tool that adds hours to a local timestamp: it lands on 23:00 the day before and loses a date.
- Is anything sent to a server?
- No. The dates are drawn in your browser and never transmitted, so nobody, including us, knows what you drew. Your range and settings are remembered in this browser only, and Start over forgets them.
Dates are drawn uniformly across the whole range you set, inclusive of both ends, using the browser's crypto random source. With a weekday filter on, the draw is uniform across the days that pass the filter. Typing a seed replaces that source with a repeatable generator, so the same seed and the same settings give the same dates.