Set a date range and how many dates you need. Filter to weekdays, weekends or specific days, choose a format and copy the list or download it as CSV.
Last updated:
Days
Tokens: YYYYYYMMMMMMMMMMDDDdddddddHHhhmmssA. Put other text in [brackets] to keep it as is.
Advertisement
Advertisement
How to use the Random Date Generator
Enter the From and To dates. Both dates are included in the range.
Set how many dates you want, from 1 to 1000.
Pick the days: any day, weekdays, weekends, or switch individual days of the week on and off.
Choose a format and order, and tick Unique dates or Include a random time if you need them.
Press Generate dates, then Copy list or Download CSV.
Date formats explained
Format
Example (19 October 2026)
Where it is used
ISO 8601
2026-10-19
Databases, APIs, file names; sorts correctly as text
US
10/19/2026
United States (month first)
European
19/10/2026
UK, most of Europe, Latin America, India, Australia (day first)
Long
October 19, 2026
Letters, documents and invitations
With weekday
Monday, October 19, 2026
Calendars and schedules
Unix timestamp
1792368000
Seconds since 1 January 1970 00:00 UTC; used by programming languages and logs
A date such as 03/04/2026 means 4 March in the US but 3 April in Europe. When you share dates internationally, ISO 8601 (YYYY-MM-DD) avoids the ambiguity.
How many dates are in a range?
A normal year has 365 days and a leap year has 366. Leap years are divisible by 4, except century years, which must be divisible by 400 (2000 was a leap year, 1900 and 2100 are not). Over a long range about 5 days in every 7 (71.4%) are weekdays and 2 in 7 (28.6%) are weekend days.
Range
All days
Weekdays (Mon–Fri)
Weekends
Year 2026 (1 Jan – 31 Dec)
365
261
104
Year 2028 (leap year)
366
260
106
October 2026
31
22
9
2000 – 2026 (inclusive)
9,862
7,044
2,818
The message above the results shows how many dates in your range match the selected days, so you can see the size of the pool you are sampling from.
Tips for test data and sampling
Realistic birthdays: for adults aged 18 to 65 today, use a range from about 1961 to 2008 and the long or ISO format.
Business days: choose Weekdays to avoid weekends; public holidays still need to be removed by hand.
Spreadsheet import: ISO dates are recognised by Excel, Google Sheets and LibreOffice in every locale. The CSV always includes an ISO column and a Unix timestamp column.
Repeatable audits: generate a sorted, unique list of dates and save the CSV so the sample can be documented.
Because every date is picked from the full list of matching days, short months and leap days are never over- or under-represented: 29 February only appears in ranges that contain a leap year, and then exactly as often as any other single day.
Frequently asked questions
Are the random dates evenly distributed?
Yes. The tool counts every date in the range that matches your weekday filter and picks among them with crypto.getRandomValues, using rejection sampling to avoid bias. Every matching date has exactly the same chance of being chosen.
Is the end date included?
Yes. Both the From and the To date can be picked. If you enter them the wrong way round, the tool swaps them for you.
What happens if I ask for more unique dates than exist?
With Unique dates on, each date can appear only once. If you ask for 30 unique weekdays in a two-week range, you get all 10 matching weekdays and a note explains why.
How are time zones and daylight saving handled?
Dates are calculated as whole calendar days in UTC, so a daylight-saving change can't skip or duplicate a day. Random times are plain clock times from 00:00:00 to 23:59:59, and Unix timestamps treat the date and time as UTC.
How do I make a custom format?
Choose Custom pattern and combine tokens such as YYYY (2026), MM (10), DD (19), MMM (Oct), MMMM (October), ddd (Mon), dddd (Monday), HH:mm:ss or hh:mm A. Put literal text in square brackets, for example [Week of] MMM D.
What can I use random dates for?
Test data for software and spreadsheets, random birthdays for characters or sample records, picking a surprise date for an event, quiz questions, scheduling random audits or spot checks, and history or calendar practice.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.