{"id":67691,"date":"2026-12-01T19:29:48","date_gmt":"2026-12-01T16:29:48","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67691"},"modified":"2026-12-01T19:29:48","modified_gmt":"2026-12-01T16:29:48","slug":"random-date-generator","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/web-tools\/random-date-generator\/","title":{"rendered":"Random Date Generator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Generate Random Dates Between Any Two Dates<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67691\" data-favorite-title=\"Random Date\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/web-tools\/random-date-generator\/\" data-favorite-excerpt=\"Pick one or up to 1000 random dates between any two dates, with weekday\/weekend filters, excluded dates, optional random times and CSV export. Everything runs locally with cryptographically secure randomness.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-d-edit\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/web-tools\/random-date-generator\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67691\" data-post=\"67691\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"is-single field\" id=\"input-1\"><span class=\"font-semibold\">Date range<\/span><\/div><div class=\"field\" id=\"input-2\"><label for=\"field-2\">Start date<\/label><input type=\"date\" name=\"start_date\" id=\"field-2\" aria-describedby=\"calc-info-2\" step=\"any\" value=\"2026-01-01\"\/><small id=\"calc-info-2\">First possible day (inclusive).<\/small><\/div><div class=\"field\" id=\"input-3\"><label for=\"field-3\">End date<\/label><input type=\"date\" name=\"end_date\" id=\"field-3\" aria-describedby=\"calc-info-3\" step=\"any\" value=\"2026-12-31\"\/><small id=\"calc-info-3\">Last possible day (inclusive).<\/small><\/div><div class=\"is-single field\" id=\"input-4\"><span class=\"font-semibold\">Generation options<\/span><\/div><div class=\"field has-term\" id=\"input-5\"><label for=\"field-5\">Count<\/label><div class=\"term\">n<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"count\" id=\"field-5\" aria-describedby=\"calc-info-5\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"1\" max=\"1000\" value=\"5\"\/><small id=\"calc-info-5\">How many dates to draw (1\u20131000).<\/small><\/div><div class=\"field\" id=\"input-6\"><label for=\"field-6\">Day filter<\/label><div class=\"grid grid-cols-1\"><select id=\"field-6\" name=\"day_filter\"><option value=\"all\" selected>All days<\/option><option value=\"weekdays\">Weekdays only (Mon\u2013Fri)<\/option><option value=\"weekends\">Weekends only (Sat\u2013Sun)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field is-single\" id=\"input-7\"><label for=\"field-7\">Dates to exclude<\/label><textarea id=\"field-7\" name=\"dates_to_exclude\">2026-07-04\n2026-12-25<\/textarea><\/div><div class=\"field is-checkbox\" id=\"input-8\"><input type=\"checkbox\" id=\"field-8\" value=\"1\"\/><label for=\"field-8\">Include time<\/label><\/div><div class=\"field is-checkbox\" id=\"input-9\"><input type=\"checkbox\" id=\"field-9\" value=\"1\" checked=\"checked\"\/><label for=\"field-9\">Unique dates only<\/label><\/div><div class=\"field\" id=\"input-10\"><label for=\"field-10\">Sort output<\/label><div class=\"grid grid-cols-1\"><select id=\"field-10\" name=\"sort_output\"><option value=\"none\" selected>No sorting \u2014 random order<\/option><option value=\"asc\">Ascending (earliest first)<\/option><option value=\"desc\">Descending (latest first)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"is-single field\" id=\"input-11\"><span class=\"font-semibold\">Output<\/span><\/div><div class=\"field\" id=\"input-12\"><label for=\"field-12\">Format<\/label><div class=\"grid grid-cols-1\"><select id=\"field-12\" name=\"format\"><option value=\"iso\" selected>ISO \u2014 2026-10-22<\/option><option value=\"us\">US \u2014 10\/22\/2026<\/option><option value=\"eu\">EU \u2014 22.10.2026<\/option><option value=\"long\">Long \u2014 Thursday, October 22, 2026<\/option><option value=\"unix\">Unix timestamp \u2014 1794633600<\/option><option value=\"custom\">Custom pattern<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field is-single\" id=\"input-13\" hidden><label for=\"field-13\">Custom pattern<\/label><input type=\"text\" name=\"custom_pattern\" id=\"field-13\" aria-describedby=\"calc-info-13\" placeholder=\"EEEE, MMMM d, yyyy HH:mm:ss\" step=\"any\" value=\"EEEE, MMMM d, yyyy\"\/><small id=\"calc-info-13\">Tokens: yyyy yy MMMM MMM MM M dd d EEEE EEE HH H mm m ss s \u2014 everything else is copied literally. MM = month, mm = minutes. Add HH:mm:ss to show the random time.<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67691\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Random Dates<\/h3><div class=\"result-box\"><div class=\"field-result is-column\" id=\"output-1\"><span class=\"field-title\"><span>Your random dates \u2014 copy or download as CSV<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Summary of this draw<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>How the random dates are generated<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67691\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Random Date Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ d = d_1 + \\lfloor r \\times N \\rfloor, \\qquad r \\sim U(0, 1), \\qquad N = \\left\\lfloor \\frac{t_2 - t_1}{86\\,400\\,000} \\right\\rfloor + 1 \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(d_1\\) \u2014 start date, the first eligible day of the range (inclusive)<\/li>\n<li>\\(t_1\\), \\(t_2\\) \u2014 UTC timestamps, in milliseconds, of the start and end dates<\/li>\n<li>\\(N\\) \u2014 number of eligible days left after the day filter and the exclusion list are applied<\/li>\n<li>\\(r\\) \u2014 random number drawn uniformly from \\([0, 1)\\)<\/li>\n<li>\\(d\\) \u2014 the generated date, expressed as a day offset from the start date<\/li>\n<\/ul>\n<p>The formula turns the date range into a pool of \\(N\\) equally likely days, then scales a uniform random number to a day offset inside that pool. When \"Include time\" is ticked, a second uniform draw picks one of the 86,400 seconds of the chosen day.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Random Date \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> the defaults are kept \u2014 Start date 2026-01-01, End date 2026-12-31 \u2014 with the exclusion list cleared, and a single date with a random time is drawn. The generator produces \\(r = 0.42170\\).<\/p>\n<p>\\[ N = \\left\\lfloor \\frac{t_2 - t_1}{86\\,400\\,000} \\right\\rfloor + 1 = 365 \\ \\text{days} \\]<\/p>\n<p>\\[ k = \\lfloor 0.42170 \\times 365 \\rfloor = 153, \\qquad d = 2026\\text{-}01\\text{-}01 + 153 \\ \\text{days} = 2026\\text{-}06\\text{-}03 \\]<\/p>\n<p><strong>Result:<\/strong> 2026-06-03T09:26:39 \u2014 a second uniform draw of 33,999 seconds past midnight adds the time 09:26:39 to the date.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>Set the <strong>Start date<\/strong> and <strong>End date<\/strong> \u2014 both bounds are inclusive, and the start must not be after the end.<\/li>\n<li>Enter the <strong>Count<\/strong> of dates to draw (1\u20131000).<\/li>\n<li>Choose a <strong>Day filter<\/strong>: allow all days, weekdays only (Mon\u2013Fri) or weekends only (Sat\u2013Sun).<\/li>\n<li>List any <strong>Dates to exclude<\/strong> as YYYY-MM-DD, one per line or separated by semicolons \u2014 holidays, for example. Those days are removed from the pool before drawing.<\/li>\n<li>Tick <strong>Include time<\/strong> to add a uniformly random hh:mm:ss to every date, and <strong>Unique dates only<\/strong> if no day may appear twice.<\/li>\n<li>Pick the <strong>Sort output<\/strong> order and the output <strong>Format<\/strong> (ISO, US, EU, long, Unix timestamp, or a <strong>Custom pattern<\/strong> \u2014 the pattern field appears only when the custom option is selected).<\/li>\n<li>The results appear immediately; use the copy button or download them as CSV. Note that any change to an input triggers a brand-new draw, so save a set you like as CSV.<\/li>\n<\/ol>\n<h2>What is a random date generator?<\/h2>\n<p>A random date generator selects dates from a given range so that every eligible day has exactly the same chance of being picked \u2014 a uniform distribution. Instead of vaguely \"random\" behaviour, the generator compresses the whole range into a pool of \\(N\\) days and draws a day offset from it, so no date is favoured and short ranges get no artificial edge.<\/p>\n<p>The quality of the draw depends on the source of randomness. This calculator uses <code>crypto.getRandomValues<\/code>, the cryptographically secure random generator built into modern browsers, combined with rejection sampling to eliminate the modulo bias a naive remainder operation would introduce. Statistically, this is the same standard used for secure tokens in tools like our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/password-generator\/\">Password Generator<\/a> and <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/uuid-generator\/\">UUID Generator<\/a>.<\/p>\n<p>Random dates are useful wherever you need unpredictable but well-distributed calendar values: generating test data for software, scheduling audits or spot checks on random days, picking giveaway or lottery dates fairly, running Monte Carlo simulations, or brainstorming deadlines. The day filter and exclusion list make it easy to model realistic scenarios \u2014 for instance, drawing random business days while skipping public holidays.<\/p>\n<p>Two sampling modes are available. With <strong>Unique dates only<\/strong> on, days are sampled without replacement using a partial Fisher\u2013Yates shuffle, so every combination of the requested size is equally likely and no day repeats. With it off, each draw is independent and duplicates are possible \u2014 the behaviour you want when each event (say, a daily prize draw) happens independently of the others.<\/p>\n<h2>Tokens for the custom pattern<\/h2>\n<p>When <strong>Format<\/strong> is set to \"Custom pattern\", the following tokens apply; every other character is copied literally to the output.<\/p>\n<table>\n<thead>\n<tr>\n<th>Token<\/th>\n<th>Meaning<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>yyyy<\/code> \/ <code>yy<\/code><\/td>\n<td>4-digit \/ 2-digit year<\/td>\n<td>2026 \/ 26<\/td>\n<\/tr>\n<tr>\n<td><code>MMMM<\/code> \/ <code>MMM<\/code> \/ <code>MM<\/code> \/ <code>M<\/code><\/td>\n<td>Full \/ short \/ zero-padded \/ bare month<\/td>\n<td>October \/ Oct \/ 10 \/ 10<\/td>\n<\/tr>\n<tr>\n<td><code>dd<\/code> \/ <code>d<\/code><\/td>\n<td>Zero-padded \/ bare day of month<\/td>\n<td>03 \/ 3<\/td>\n<\/tr>\n<tr>\n<td><code>EEEE<\/code> \/ <code>EEE<\/code><\/td>\n<td>Full \/ short weekday name<\/td>\n<td>Thursday \/ Thu<\/td>\n<\/tr>\n<tr>\n<td><code>HH<\/code> \/ <code>H<\/code><\/td>\n<td>Hour, 24-hour clock<\/td>\n<td>09 \/ 9<\/td>\n<\/tr>\n<tr>\n<td><code>mm<\/code> \/ <code>m<\/code><\/td>\n<td>Minute<\/td>\n<td>26 \/ 26<\/td>\n<\/tr>\n<tr>\n<td><code>ss<\/code> \/ <code>s<\/code><\/td>\n<td>Second<\/td>\n<td>39 \/ 39<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Be careful not to confuse <code>MM<\/code> (month) with <code>mm<\/code> (minutes). Add <code>HH:mm:ss<\/code> to the pattern to display the random time.<\/p>\n<h2>Assumptions, limitations and practical tips<\/h2>\n<ul>\n<li><strong>The page redraws on every change.<\/strong> Because the calculator recalculates whenever an input changes, each edit produces a new random set \u2014 that is expected for a generator, not a bug. Use the CSV download to keep results you want to reuse.<\/li>\n<li><strong>Everything is UTC.<\/strong> Dates are handled as UTC calendar days, so your local timezone can never shift a result by a day. Unix timestamps count seconds since 1970-01-01 00:00:00 UTC, and can be checked with our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/unix-timestamp-converter\/\">Unix Timestamp Converter<\/a>.<\/li>\n<li><strong>Range limit.<\/strong> Ranges longer than 200,000 days (roughly 548 years) are rejected. For very large counts, split the work into several draws.<\/li>\n<li><strong>Unique mode needs enough days.<\/strong> If you request more unique dates than the pool contains after filtering and exclusions, the calculator tells you how many eligible days exist \u2014 lower the count, widen the range, or switch off unique mode.<\/li>\n<li><strong>Exclusions must match the format.<\/strong> Enter excluded dates as YYYY-MM-DD (or YYYY\/MM\/DD); anything else is ignored and reported in the summary. Dates outside the range are also ignored, since they were never eligible anyway.<\/li>\n<li><strong>Filters never distort the distribution.<\/strong> Weekday and weekend filters remove days from the pool before the draw, so the remaining days stay uniform \u2014 they are not \"reshuffled probabilities\".<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pick one or up to 1000 random dates between any two dates, with weekday\/weekend filters, excluded dates, optional random times and CSV export. Everything runs locally with cryptographically secure randomness.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[65],"class_list":["post-67691","post","type-post","status-publish","format-standard","hentry","category-web-tools","tag-text-tools"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67691"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67691\/revisions"}],"predecessor-version":[{"id":67692,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67691\/revisions\/67692"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}