Random Date Generator

Pick a random date between any two dates, a random day of the year, or a random birthday for an age range. Every allowed day has the same chance: for a date in 2026, that is 1 in 365, or about 0.27% (pick one now).

Pick a random date

Choose where the date can come from, then press Generate. Every allowed day has the same chance.

Days allowed
Examples:

How to Use This Generator

  1. Choose where from

    Pick a date range, a day of the year (with or without a year), or a birthday for an age range. Then set how many dates you want.

  2. Set the details

    Pick a format, switch the day of the week on or off, and turn off any weekdays you don't want. Add a random time if you need one.

  3. Press Generate

    One date shows on its calendar page; several show as a list with a ruler of where they fall. Press Generate again for a new draw.

How the random date generator works

The generator first counts every day that is allowed: the days from the start date to the end date, both included, minus any weekdays you switched off. That set is the pool. Then it draws one day at a time, with each day in the pool equally likely. The chance of any one date is 1 divided by the size of the pool, and the result panel says how big the pool was.

With "No repeats" on, a day that has been drawn is taken out of the pool, like pulling cards from a deck without putting them back. With it off, the same date can come up twice in one draw, which matters when you ask for many dates from a short range. The numbers come from the browser's cryptographic random generator, so there is no pattern to predict, and the draw happens on your device.

Why random dates bunch up

Ask for ten dates in a year and you will often get two in the same week and a gap of two months somewhere else. That is what randomness looks like. Evenly spaced dates would be a schedule, not a draw. The ruler under a multi-date result shows the clumps and gaps so you can see it.

Draw 12 dates in 2026

Pick a random day of the year

Sometimes you want a day without a year: a date for a story, a theme day, or a random "birthday" to use in a game. Choose "Day of the year" and leave the year empty. The generator picks from the 365 days of a common year and shows the month and day, such as "May 14". Because there is no year, there is no day of the week either, so that option steps aside.

February 29 only exists in leap years, so it is left out unless you tick "Include February 29". With it included each day has a 1 in 366 chance. In real calendars it is rarer than that: over four years there are 1,461 days and only one of them is February 29. Type a year instead, and you get a full date from that year, with the weekday and the right number of days.

Pick a day of the year, February 29 included

Leap years

A year is a leap year when it divides by 4, except for century years, which must also divide by 400. So 2024 and 2028 are leap years, 1900 and 2100 are not, and 2000 was. The generator follows this rule for every year from 1 to 9999, so a range that crosses February in a leap year has one more day in its pool. 2026 is not a leap year and has 365 days.

Day numbers by month

For a full date the result shows its day of the year, from 1 for January 1 to 365 or 366 for December 31. This table gives the day number of the first of each month, so you can turn a day number back into a date: day 134 in a common year falls in May, because May starts on day 121, and 134 − 121 + 1 = May 14.

Month Day number of the 1st In a leap year
January 1 1
February 32 32
March 60 61
April 91 92
May 121 122
June 152 153
July 182 183
August 213 214
September 244 245
October 274 275
November 305 306
December 335 336

Random birthday generator

In Birthday mode you give an age range instead of dates. Someone who is 18 today was born between their 19th birthday ago (plus one day) and their 18th birthday ago, so the generator turns the ages into a range of dates of birth and draws from it. Every result is the birthday of a person in that age range on today's date. These are the ranges as of November 15, 2026:

Age today Born from Born to
18 to 25 Nov 16, 2000 Nov 15, 2008
18 to 65 Nov 16, 1960 Nov 15, 2008
25 to 40 Nov 16, 1985 Nov 15, 2001
65 to 90 Nov 16, 1935 Nov 15, 1961
0 to 17 Nov 16, 2008 Nov 15, 2026

Random dates of birth are handy for test accounts, sample data and characters in a story. They are not real people's birthdays, so they are safe to share.

Draw 5 birthdays for ages 18 to 65

Random dates between two dates

The date range mode takes any start and end date from the year 1 to the year 9999. For a date in the future, start tomorrow; for history, try the 1900s or the 1700s. The longer the range, the smaller the chance of each day: a 100-year range holds 36,524 or 36,525 days, depending on how many leap days it includes.

Pick a date in the 20th century

Only some days of the week

Switch off the days you don't want under "Days allowed". Turn off Saturday and Sunday for working days, or keep only Friday for a random Friday. The pool shrinks to match, and the odds change with it. Here is how many of each day 2026 has:

Day Days in 2026 Chance of each
Monday 52 1 in 52
Tuesday 52 1 in 52
Wednesday 52 1 in 52
Thursday 53 1 in 53
Friday 52 1 in 52
Saturday 52 1 in 52
Sunday 52 1 in 52
Monday to Friday 261 1 in 261

The counts ignore public holidays, which differ by country. If you need business days only, draw a few more dates than you need and skip any that land on a holiday.

Draw 10 working days in 2026

Date formats

Pick the format that fits where the date is going. The day of the week is a separate switch, so any format can be written with or without it.

Format Example
Written outLetters, stories, invitations May 14, 2027
With the weekdayPlans and schedules Friday, May 14, 2027
ISO (YYYY-MM-DD)Spreadsheets, code and sorting 2027-05-14
USForms in the United States 05/14/2027
Day firstForms in most other countries 14/05/2027
Month and dayBirthdays and yearly events May 14

Dates written with slashes are easy to misread: 05/04/2027 is May 4 in the United States and April 5 in most of Europe. When a date will be read in more than one country, ISO dates or written-out months avoid the mix-up. ISO dates also sort correctly as plain text, which is why they are the usual choice for test data and file names.

Adding a random time

Tick "Add a random time" to give each date a time of day, picked to the minute from 00:00 to 23:59, so every one of the 1,440 minutes is equally likely. ISO dates show it as 2027-05-14T14:37, day-first dates use the 24-hour clock, and the other formats use AM and PM. The time has no time zone: it is a clock reading, which is what test data and stories usually need.

Draw 5 ISO dates with times

Random dates in Excel and Google Sheets

Spreadsheets store dates as whole numbers, so a random whole number between two dates is a random date. The same formula works in Excel and Google Sheets:

=RANDBETWEEN(DATE(2026,1,1), DATE(2026,12,31))
=TEXT(RANDBETWEEN(DATE(2026,1,1), DATE(2026,12,31)), "mmmm d")

Format the cell as a date, or the first formula shows a number such as 46,000. The second gives a month and day without the year. Both change every time the sheet recalculates, so copy the cells and paste them as values to keep a draw. Spreadsheets have no built-in weekday filter or no-repeat option, which is where the generator above saves time.

Ways to use a random date

  • Test data: dates of birth, order dates and appointment times for software and spreadsheets.
  • Writing and games: a birthday for a character, a date for a scene, a random day for a challenge.
  • Classroom: a random day in history to research, or dates to practice day-of-the-week puzzles.
  • Decisions: a fair pick of a date for a meeting, a draw or a surprise, when every option is fine.

Sources

Frequently Asked Questions

How do I generate a random date?

Pick a start date and an end date, then press Generate. Every day from the start to the end, both included, has the same chance. For one date in 2026 each day has a 1 in 365 chance, about 0.27%.

Pick a date in 2026

How do I pick a random day of the year?

Choose "Day of the year" and leave the year empty. You get a month and day such as "May 14", drawn from 365 days, or 366 if you include February 29. Type a year to get a full date from that year instead.

Pick a day of the year

How do I get a random date without the day of the week?

Untick "Show the day of the week" under the options. The date then reads "May 14, 2027" instead of "Friday, May 14, 2027". The month and day format leaves out the year as well.

Pick a date without the weekday

Can I generate a random birthday for an age range?

Yes. Choose "Birthday" and type the youngest and oldest age, such as 18 and 65. The generator works out which dates of birth give those ages today and picks from them, so every result is someone that age right now.

Can I generate a random date in the future?

Yes. Set the start date to tomorrow and the end date as far ahead as you like, up to the year 9999. The "next 5 years" example does this for you.

Pick a date in the next 5 years

Are the dates really random?

They come from your browser's cryptographic random number generator, the same source used for passwords and security keys, and every allowed day is equally likely. Nothing is sent to a server, so no one else sees the dates.

How do I generate a random date in Excel or Google Sheets?

Use =RANDBETWEEN(DATE(2026,1,1), DATE(2026,12,31)) and format the cell as a date. RANDBETWEEN returns a whole number between the two date serial numbers, and every recalculation picks a new date.