Random is not arbitrary
Test data needs random times that satisfy three things: they sit inside the given window, they do not clump, and they can be reproduced. The window sets the pool of usable points. Clumping is governed by uniqueness and rounding: allowing duplicates spreads points evenly but collides once the sample grows, while demanding uniqueness forces repeated draws until nothing conflicts, which slows sharply as density rises. Reproducibility comes from the seed, where one seed plus one set of parameters yields an identical sequence, essential for regression and bug replay. The default source is the browser cryptographic API rather than a plain linear generator, so two runs without a seed never match.
Steps
- Set start and end to the second; a narrow window leaves few usable points.
- Ask for between one and two hundred items; split larger jobs rather than forcing the field.
- Choose the alignment: exact to the second, or rounded to minute, hour or day, each cutting the pool proportionally.
- Choose random or ascending order, and unique or repeat-allowed.
- Enter a seed and run the seeded mode for a repeatable sequence, or leave it blank for fresh output each time.
- Select weekends included or weekdays only, generate, then copy the list or export CSV.
Density decides success
Whether uniqueness holds depends on the ratio of pool size to demand. Over a month rounded to minutes the pool holds roughly forty-three thousand points, so two hundred draws almost never collide. Narrow the window to a single day and the pool falls to one thousand four hundred forty, where two hundred unique draws will retry often and run slowly. Rounded to days the pool holds one point per day, and asking for more unique items than days simply fails. That is the real cause of a run that stops short, not a cap on quantity but a shortage of room.
Common mistakes
Swapping start and end yields a negative window and no output. Asking for two hundred unique minute-level points inside one day exceeds capacity. Ignoring alignment produces a batch clustered in the same hour. Using seeded values as production identifiers repeats them, since the same seed reproduces the same sequence. Estimating capacity from calendar days after filtering weekdays overstates by about a third. And opening an exported CSV in Excel silently converts the time column to local formatting and drops the raw seconds, so comparisons stop matching.
Where this tool is wrong
Realistic business patterns live in history, not in randomness: holidays, peaks and seasonal swings all need sampling from records. Anything security-sensitive, such as tokens, salts or draws, belongs to a dedicated cryptographic source. Identifiers that must be unique and monotonic come from sequences or timestamp-plus-node schemes, which randomness cannot provide. Across timezones, generated values are read in the local zone by default, so teams need one agreed reference. And even synthetic times should not be attached to real identities.