Accurately generate random dates within a specified range, ideal for software testing and data simulation.
1 - 200 items
Set a date range and click generate

Expiration Date Calculator
Calculate the expiration date based on the production date and shelf life, or check the near-expiry and expired status based on the expiration date.

Age Calculator
Enter your birth date to instantly calculate your exact age, traditional Chinese age, and total days alive, plus find your Chinese zodiac, horoscope, and lunar birthday.

Baby 100 Days Calculator
Calculate the exact Gregorian and Lunar dates, along with the day of the week, for your baby's 1-month, 100-day, and 1-year milestones based on their birth date.
When you need to simulate batch date data for real-world scenarios, creating them manually is both inefficient and lacks true randomness. This tool uses an algorithm to generate uniformly distributed dates within a user-defined closed interval (including the start and end dates). It supports 6 standard output formats, such as YYYY-MM-DD, and each date is an independently generated pseudo-random sequence.
Will the generated dates repeat?
No. Each date is sampled independently. When the quantity approaches the total number of days in the range, the system automatically prevents duplicates.
How can I verify that the dates are within the specified range?
All output results undergo range validation. You can verify them by: 1) Checking that the minimum date is ≥ the start date; 2) Checking that the maximum date is ≤ the end date; 3) Confirming that the number of dates matches your input value.
If the time span exceeds 3 years, we recommend generating dates in batches. The result box supports Ctrl+A to select and copy all. Generating 200 records takes about 300ms, so please avoid clicking too frequently.
In software testing, we recommend using this tool to generate the following typical test cases: 1) Cross-year dates (e.g., 2023-12-31 to 2024-01-01); 2) Leap year February dates; 3) Beginning and end of month dates. For example, when testing a financial system, you can generate boundary sequences like [2024-02-28, 2024-02-29, 2024-03-01].