Random date and time value generator

Daniel Pataki
Mar 10, 2008
Updated • Dec 12, 2012

There are tons of applications and other instances where you need to either test using dates, or you actually need random dates. If you want to write posts on your blog ahead of time, and post them randomly between the 1st of March and the 2nd of April, the random date and time value generator is the tool for you.

I love that this is such a simple tool, yet so powerful and customizable. You can enter exact start and end dates (down to seconds), select the number of dates you need, and you can even alter the format to your liking. This is great for international users, and for testing different input methods as well.

The data is then presented in simple text form, one date after another. This makes populating Excel tables super easy, no formatting to worry about, just copy paste. I wish they would make many more tools like this, this date generator is something that has saved me many hours of work.

Besides starting and end date for the random generation, you can also enter the number of results that you want to be generated, and the format you want the dates to be in. The default format is day-month-year hours-minutes-seconds which you can modify before you submit the form. This can be useful if you want to change the order or to remove data that you do not need at all.

generate random dates

Please note that results are limited to a maximum of 100 per use. If you need lots of data you may need to run the tool multiple times to generate it or create your own solution instead if we are talking very large numbers which make the script not a feasible solution to use.

The site offers a couple of other scripts and tools that you can make use of including random number generation and random string generation.


Tutorials & Tips

Previous Post: «
Next Post: «


There are no comments on this post yet, be the first one to share your thoughts!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.