Random Date and Time Value Generator - Test Data Generation

If you are software tester, you may need some random date and time values to be used as part of application input, or test data in a database. This page allows you to generate large amount of date and time values randomly for your test data need.

How to generate random date and time values?

If you are testing e-commerce or financial related applications, you definitely need lots of date and time values. But most programming languages do not offer any built-in functions to generate random date and time values. So you need do some extra work like the following:

  • date(format, min+rang*mt_rand()/RAND_MAX) - Converts random integers to random date and time values.

To help you to obtain large amount of random date and time values, FYIcenter.com has designed this online tool. All you need to do is to enter the data range and the number of data items you need in the form below, and click the Start button. The generated data will be presented in the result area.





Popup Windows Tutorials

20 tutorials on different ways to create and test popup windows created in JavaScript: Page unload popups, Pop re-open on close, ...

200+ PHP Script Tutorials

Each tutorial answers one commonly asked PHP programming question with a short, but precise and clear PHP script.