Random date generator
Generate up to 100 random dates between two days, such as 1 and 31 January 2026, with your browser’s crypto random source; repeats are possible.
- Runs in your browser
- No upload
- Instant result
Assumptions & formula
Formula and assumptions
r ∈ [d₁,d₂]; crypto.getRandomValues; n≤100
Both endpoints are included. Dates are uniformly sampled using browser cryptographic randomness with replacement: duplicates are possible. Generate 1–100 dates; no reproducible seed.
Results
Enter values and press Calculate to see the result here.
How to use this calculator
- Set inputs and units
Set an inclusive start and end date and a count of 1–100. Use a one-day range to test the format with a predictable result.
- Calculate
Check this worked example: start=end=2024-02-29, count=1 → 2024-02-29; eligibleDates=1
- Results
Every result must fall inside the date range. Repeated dates are possible because the sampling uses replacement.
Questions and limits
Are weekends filtered out?
No. Every calendar date is equally eligible. Picking business days is a job for a different calculator.
Which input errors should I correct?
Use real dates in order and a whole-number count. Generating dates needs secure browser randomness.
What does this calculation leave out?
No seeded reproducibility, no guarantee that dates are unique, and no calendar invitation or audited drawing service.