A random date, fair to every day
This generator picks a day between the two dates you set, and every day in between has exactly the same chance, including the first and the last. Behind the scenes, each day is simply a number counted from a fixed starting point; the tool draws one of those numbers with your browser's cryptographic random generator and turns it back into a date. There is no rounding trick that would favour the 1st of the month or short months, and nobody, us included, can predict the next result.
By default the range is the current year, from January 1 to December 31. Tap either date to open your phone's or computer's calendar and pick another one: a week, a month, a whole century. The shortcuts at the bottom jump to this year, next year, or January 1, 1900 to today.
What the options do
- One date or ten. Ask for 3, 5 or 10 dates and they all come out different, sorted from the earliest to the latest. Handy for a schedule, a test file or a list of quiz questions.
- No weekends. Keeps only Monday to Friday. Each weekday stays equally likely; Saturdays and Sundays are simply skipped. Public holidays are not removed, because they differ from one country and one region to the next.
- The weekday. Every result shows its day of the week, worked out in your language, so you know at once whether that random Thursday in 1987 really was a Thursday. It was.
- Copy. Tap a date to copy it in full, or Copy all to paste the list into a message, a spreadsheet or a document.
What people use a random date for
- Planning without arguing. A team lunch, a board game night, the day of a surprise: set the range, turn on No weekends if it has to be a working day, and let chance decide.
- History quizzes. Pick a date since 1900 and guess what happened that year, or who was born that week. A good way to start a class or a pub quiz round.
- Writing and role-play. A birthday for a character, the date of a letter in a story, the day a mystery begins.
- Test data. Developers and analysts need believable dates in a form or a spreadsheet. Ten different dates in calendar order are one tap away.
- Challenges. Draw a date in the coming year and that becomes the day you run the race, call an old friend or open the bottle you have been saving.
For a birth date with the age shown next to it, the random birthday generator is set up for exactly that. For a plain number, use the random number generator, and for a place to go with your date, the random country generator.
Which calendar, and how far back?
All dates follow the Gregorian calendar, the one in use today. You can go as far back as 1583, the first full year after the calendar reform of October 1582, and as far forward as 2999. Leap years follow the Gregorian rule: every fourth year, except century years that cannot be divided by 400. So 2000 had a February 29 and 1900 did not, and the generator knows it.
That same rule makes the calendar repeat exactly every 400 years: 146,097 days, which is exactly 20,871 weeks. Over that cycle the days of the month do not land evenly on the weekdays, and the table below shows the curious result for the 13th.