Sign in

Random Date Generator

?

    Pick a start date and an end date, choose how many dates you need, and get random days from that span with the weekday shown next to each.

    This random date generator picks calendar days between a start date and an end date that you choose. Both ends of the range can be drawn. You can ask for one date or up to 100, limit the draw to Monday through Friday, keep every date different, and sort the list from earliest to latest. Each result shows the day of the week, so you can tell at a glance whether it falls on a weekend.

    Developers use random dates to fill test databases and check how forms handle odd values like February 29. Event planners use it to break a tie between possible days. Teachers and students use it for history quiz practice, and friends use it to set surprise challenge days across a month. A copy button sends the list to a spreadsheet or message.

    How to generate random dates

    Ways to use a random date

    For an event, enter the window you are considering, such as the next six weeks, turn on Weekdays only if it is a work meetup, and draw one date. If the group already narrowed it down to a few options, a random day picker wheel can work too.

    Fairness and limits

    Every day in the range has the same chance of being picked. The draw uses crypto-grade random numbers from your browser, and the date math accounts for month lengths and leap years, so February 29 can appear in leap years and never in others.

    With No repeats on, you cannot ask for more dates than the range contains. A one-week range holds seven days, or five with Weekdays only. Ranges can span up to about 500 years. Public holidays are not removed, since they differ by country, so check any date that lands on one.

    Frequently asked questions

    Does the random date include the start and end dates?

    Yes. Both the start date and the end date can be drawn. If you set them to the same day, every result will be that day, which is a quick way to check the tool is working.

    Can I get only weekdays?

    Yes. Turn on Weekdays only and Saturdays and Sundays are left out of the draw. Every result still shows its weekday name, so you can confirm that only Monday through Friday appear.

    How many random dates can I generate?

    Up to 100 in one draw. With No repeats on, the limit is the number of days in your range, minus weekends if Weekdays only is on. Widen the range if you need more unique dates.

    Is the random date generator good for test data?

    Yes. Set a wide range, ask for up to 100 dates, and keep Sort by date on for a tidy list. Press Copy and paste the dates into a spreadsheet or a seed file. Run it again for a different set.

    Related