ToolLineup

Random Date Generator

Generate random dates uniformly between two bounds, in ISO 8601, US, European, long or Unix timestamp format, with or without a time of day. The weekdays-only option excludes Saturdays and Sundays, which is what makes generated business data plausible rather than scattering invoices across weekends. All dates are generated and formatted in UTC so the result does not depend on where you are. Everything is generated in your browser; nothing is uploaded and no result is recorded anywhere.

How it works

Draws dates uniformly from the range you set, with an option to exclude weekends — useful for generating plausible business data rather than dates that fall on a Sunday.

All dates are generated and formatted in UTC, so the same settings give the same result regardless of where you are.

Values are generated in your browser and never sent anywhere.

Generated dates

Adjust the settings above and values appear here.

Frequently asked questions

Why are dates generated in UTC?

A date generated in your local time zone would come out differently for someone else running the same settings, and a date near midnight could land on a different day. UTC makes the result depend only on the settings.

What does the weekdays-only option do?

It rejects any date falling on a Saturday or Sunday and draws again. Generated business data with orders placed on weekends looks obviously synthetic, so this is usually worth turning on for that purpose.

Which format should I choose?

ISO 8601 sorts correctly as text and is unambiguous, which makes it the right default for anything a machine will read. The US and European formats are ambiguous between them — 03/04 is two different dates — so they are best kept for display.

Can I generate dates in the past only?

Set the upper bound to today or earlier. The bounds can be given in either order, and both are inclusive.

Are the dates evenly spread across the range?

Yes, they are drawn uniformly across the whole span in milliseconds — so a longer month contributes proportionally more dates than a shorter one, which is what uniform actually means.

Related tools