Random Time Generator

Pick a random time of day between any two times, with or without a date

Time Settings

Both ends count. If "To" is earlier than "From", the range runs past midnight.

Click "Pick a Random Time" to get a time of day

How to Use the Random Time Generator

  1. Set the range: Choose a From and To time, or tap a quick range like Morning, Evening or Work Hours. A range like 10:00 PM to 2:00 AM runs past midnight.
  2. Choose how to round: To the second, to the minute, or neat steps of 5, 10, 15 or 30 minutes or whole hours. With 15 minutes you only get times like 2:00, 2:15, 2:30 and 2:45.
  3. Pick a format: 12-hour with AM and PM, or 24-hour.
  4. Add a date if you need one: Choose a date style and a date range to get a random date and time together, handy for sample timestamps.
  5. Click "Pick a Random Time": The clock hands spin and stop on your time. Click again while they spin to skip straight to the answer.
  6. Copy: Copies the time, or the whole list, one per line.

Your settings are saved in your browser, so the generator is set up the same way next time you visit.

Frequently Asked Questions

Is every time equally likely?

Yes. Every time in your range that fits the rounding has the same chance, including both ends of the range.

How do I get a time that crosses midnight?

Set "To" earlier than "From". For example, 9:00 PM to 5:59 AM picks from the night hours on both sides of midnight.

What does "No repeats" do?

When you pick several times, each one is different. Turn it off to allow the same time to come up more than once.

Is 12:00 PM noon or midnight?

12:00 PM is noon and 12:00 AM is midnight. In 24-hour format they are 12:00 and 00:00.

Does it use my time zone?

No. The times are plain clock times with no time zone attached, so they read the same wherever you are.

How is the time picked?

Right in your browser, using its built-in cryptographic random number generator (the same kind of source used for passwords).