Random Date and Time Generator
Generate calendar dates, wall-clock times, or real date-time instants from one carefully defined range. You can see the exact eligible capacity before drawing, keep results unique or allow repeats, and copy or download the current batch without sending its criteria or values to a generator service.
Random date and time settings
Generated results
Choose valid settings, then generate a batch.
A practical weekday test-data example
Suppose a QA plan needs ten unique appointment instants during the next quarter. Choose Date and time, set a 15-minute step, keep Monday through Friday, exclude planned closure dates, and select UTC for stable cross-region values. The eligible count reflects all filters before any draw occurs.
Equal selection from the eligible set
Every eligible calendar day, wall-clock slot, or real instant receives one index. The browser Web Crypto API supplies unbiased random indices; unique mode samples without replacement, while repeat mode performs independent draws with replacement. If secure randomness fails, the tool produces no batch.
Inclusive bounds, zones, and clock changes
Start and end are included when they align with the selected minute step. Date mode advances by calendar day rather than fixed 24-hour intervals. Date-time mode samples real instants and evaluates weekday and excluded-date filters in UTC or the current device zone. A spring-forward time that does not exist is rejected; an ambiguous fall-back boundary follows the browser's resolution, so use UTC when overlap control must be exact.
Local criteria and session-only results
Generation, filtering, formatting, copying, and file creation happen in this browser. The tool does not automatically upload or save ranges, excluded dates, time-zone choices, or generated values, and it does not place them in page URLs. Values leave the session only when you choose Copy or download a file. Normal site analytics may still load, but this feature does not add those inputs or results to analytics requests.
Precision and decision limits
- Batches contain 1–100 results, years are limited to 1900–2100, spans to 100 years, and time precision to whole minutes with 1, 5, 15, 30, or 60-minute steps.
- Monday through Friday is only a weekday preset. It does not know regional weekends or public holidays; add any closure or holiday as an excluded ISO date.
- The generator is for low-risk planning, sampling, teaching, and test data. It is not a certified drawing system and should not decide legal rights, safety, medical care, employment, or financial access.
Random date and time questions
- Are the start and end values included?
- Yes. Both boundaries are eligible when valid and aligned with the selected minute step. Weekday and excluded-date rules can still remove a boundary.
- Can results repeat?
- Yes when repeat mode is enabled: each draw is independent. Unique mode samples without replacement and blocks a request larger than the exact eligible capacity.
- How are daylight-saving changes handled?
- Date mode uses calendar days. Date-time mode samples real instants in UTC or the device zone, rejects nonexistent local boundaries, and labels the selected zone. UTC is recommended when an overlapping local hour must be controlled exactly.
- Are my ranges or results sent to a server?
- No. This feature generates them in the current browser session without adding them to URLs, browser storage, or server requests. Only a copy or file download you start deliberately keeps an export outside the session. The site's normal analytics can still load without receiving these values.
Content and implementation reviewed: