Random Date Picker

Share:

Pick a random date between two dates, with weekday-only, weekend-only, business-day, or holiday-exclusion filters. Free, runs in your browser.

RT-FUN-074 · Fun & Misc
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Random Date Picker

Advertisement
After tool · AD-W1Responsive · Post-tool

How to Use the Random Date Picker

Set the date range

Choose a start and end date. The picker will return one random date that falls on or between them. The range defaults to today through one year from now, but you can set any range you like.

Choose which days count

Pick "Any day", "Weekdays only", "Weekends only", or "Business days". This is useful for sampling — for example, drawing a random weekday for an audit, or a random weekend for an event.

Exclude public holidays (optional)

In "Business days" mode you can also exclude US federal holidays or UK bank holidays, so the date you get is a working day. The UK list is England and Wales only, and the US list leaves out Inauguration Day, which is a holiday only for federal staff in the Washington, DC area.

Pick and copy

Press "Pick a random date" for a result shown in full and as an ISO date (YYYY-MM-DD), press again for another, and copy the ISO date with one click for spreadsheets or scripts. It all runs in your browser.

Advertisement
After how-to · AD-W2Responsive

Picking a Random Date — and Why the Filters Matter

More Than a Dice Roll on the Calendar

Picking a random date sounds simple — choose any day between two dates — and for many uses it is. Survey researchers select a random start date for a panel; planners pick a random weekend for an offsite; teachers choose a random day in term for a surprise quiz; and writers and game-masters use it to seed fiction or scenarios. The basic operation here is to take every day in your chosen range, give each an exactly equal chance, and draw one using the browser's cryptographic random number generator so there is no bias toward the start or end of the range. Because the draw is unbiased and runs entirely on your device, you can regenerate as many times as you like and trust that each date is fairly chosen.

What makes a random-date tool useful for work is the filtering. If you are sampling for an audit or scheduling a meeting, you usually do not want a Saturday or a public holiday — you want a working day. This picker lets you restrict the draw to weekdays only, weekends only, or true business days, and in business-day mode it can also skip US federal holidays or England and Wales bank holidays so the date it hands you is one people are actually at their desks. It does this by building the set of every day in your range that passes your filter and drawing uniformly from that set, which guarantees the result always satisfies the filter and also tells you how many valid dates existed — handy for knowing how constrained your range really was.

"A random date is easy; a random working day is the useful one. The value is in the filters — weekday, weekend, or true business day with the public holidays taken out."

Sampling, Scheduling, and Fair Draws

A few notes on getting the most from it. For statistical sampling — picking random dates to inspect records, audit transactions, or schedule spot checks — the weekday and business-day filters keep your sample realistic, and because every qualifying date has equal probability, your sample is unbiased. For event planning, the weekend filter quickly narrows a long range to just the Saturdays and Sundays. If a filter returns no dates — for example, asking for weekends in a range that only spans a working week — the tool tells you plainly so you can widen the range or relax the filter rather than getting a misleading result. The holiday data covers 2025 to 2027: US federal holidays as published by the U.S. Office of Personnel Management, and bank holidays for England and Wales as published on GOV.UK (Scotland and Northern Ireland have their own lists, which are not included). The weekday, weekend, and any-day filters work for any range and any country. As with all our tools, your dates never leave your browser, and there is no limit on how often you can draw. It is a small utility, but for anyone who needs a fair, filtered random date — and especially a random working day — it removes a fiddly manual job.

Business-day mode, and where the holiday dates come from

01

Every date in your range has exactly equal odds — no bias toward either end.

02

The draw uses cryptographic randomness, not the weaker Math.random().

03

Business-day mode excludes weekends and (optionally) public holidays.

04

US dates come from the OPM federal holiday list; UK dates from GOV.UK's England and Wales bank holidays.

05

The result shows both a full date and ISO format (YYYY-MM-DD).

06

If no date matches a filter, the tool tells you instead of guessing.

07

It reports how many valid dates were in your filtered range.

08

Researchers use random dates for unbiased sampling of records.

09

US & UK public holidays are covered for 2025–2027.

10

Everything runs in your browser — nothing is uploaded.

📅 Research current as of 01 Oct 2026 · Sources: U.S. Office of Personnel Management. Federal Holidays — 2025, 2026, 2027, including Friday 31 December 2027, the observed New Year's Day for 2028: https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/; GOV.UK. UK bank holidays — England and Wales 2025, 2026, 2027: https://www.gov.uk/bank-holidays
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.

Frequently Asked Questions

  • It takes every day between your start and end dates that passes your chosen filter, gives each an exactly equal chance, and draws one using the browser's cryptographic random number generator. Because it draws from the filtered set, the result always satisfies your filter — a "weekday" pick is always a weekday — and it also tells you how many valid dates were available.
  • Yes — choose "Business days", which excludes Saturdays and Sundays. In that mode you can also select United States (federal holidays) or United Kingdom (England and Wales bank holidays) to skip those days as well, so the date you get is a working day. It is the most useful mode for scheduling and auditing.
  • Holiday exclusion currently covers the United States (federal holidays, from the U.S. Office of Personnel Management) and the United Kingdom (England & Wales bank holidays only, from GOV.UK) for 2025 to 2027. Inauguration Day is not included, because it is a holiday only for federal employees in the Washington, DC area; in 2025 it fell on Martin Luther King Jr. Day, which is on the list. The weekday, weekend, and any-day filters work for any range and any country. We limited the holiday list to dates we can publish accurately rather than guessing at movable holidays elsewhere.
  • The tool tells you plainly that no dates match — for example if you ask for weekends in a range that only covers a working week — and suggests widening the range or relaxing the filter. It never returns a misleading date that breaks your filter. This honesty is deliberate: a wrong "random weekend" that is actually a Tuesday is worse than no result.
  • Yes. It uses the browser's cryptographic random number generator with rejection sampling so that every qualifying date has exactly equal probability, with no bias toward the start or end of the range. This matters for statistical sampling, where a biased draw would skew your results. For everyday use it simply means the pick is genuinely fair.
  • The result is shown two ways: a readable full date with the day of the week (for example, "Monday, 2 June 2025") and an ISO date (2025-06-02). The copy button copies the ISO format, which is the standard, unambiguous format for spreadsheets, databases, and scripts. ISO dates also sort correctly as plain text.
  • Yes — it is well suited to it. Because every qualifying date has equal probability, repeatedly drawing dates gives you an unbiased sample. The weekday and business-day filters keep samples realistic when you only care about working days, and the tool tells you the size of the eligible pool so you understand how constrained your range is.
  • Yes. Everything runs in your browser — your date range and results are never uploaded or stored on any server. The only data the tool loads is a small public-holidays file. You can use the tool offline once the page has loaded.
  • Ranges of many years work fine and the pick is effectively instant. Extremely large ranges (hundreds of years) are capped for performance, which is far beyond any practical use. For normal ranges — days, months, or a few years — there is no noticeable delay.
  • The holiday lists stop at the end of 2027 (and start in 2025). For dates outside those years, business-day mode still skips Saturdays and Sundays, but it has no holidays to skip, so a public holiday can come up as a "business day". If your range runs past 2027, check the result against the official OPM or GOV.UK list. The weekday, weekend and any-day filters are not affected.

Method & sources

How it computes

Builds the list of every calendar day from the start to the end date (inclusive, capped at 200,000 days) that passes the chosen filter — any day, Monday–Friday, Saturday–Sunday, or business day (Monday–Friday minus the selected country's public holidays) — and draws one member uniformly with a rejection-sampled 32-bit value from crypto.getRandomValues; dates are handled in UTC so the pick does not depend on the visitor's time zone.

What this tool implements

  • US public holidays are the eleven federal holidays under 5 U.S.C. §6103 as scheduled by the Office of Personnel Management for 2025–2027, including the observed weekday when a holiday falls on a weekend; Inauguration Day (DC-area employees only) is not included.
  • UK public holidays are the eight England and Wales bank holidays for 2025–2027 from GOV.UK, including substitute days; Scotland and Northern Ireland differ and are not covered.
  • Weekend means Saturday and Sunday; no other country's holidays are modelled, and outside 2025–2027 business-day mode excludes weekends only.
  • Uniform draw via the W3C Web Cryptography API getRandomValues with rejection sampling, never Math.random.

Sources

What can make this go out of date

  • OPM publishes each year's federal holiday schedule in advance; the bundled US list ends with 2027 and must be extended by hand.
  • GOV.UK bank holidays can change by proclamation (one-off holidays, moved dates); the bundled England and Wales list ends with 2027.
Advertisement
Pre-footer · AD-W3 728 × 90