Genarating time in 5 seconds interval : Hello am kindly asking on how to generate time with a 5 seconds interval where the user selects a date then a specific time interval maybe from 11:00:00 to 12:00:00 then the program generates a record like this 

 1. date       time      random number
 2. 23/01/2016 11:01:02   030
 3. 23/01/2016 11:02:07   035
 4. 23/01/2016 11:02:12   054
 5. 23/01/2016 11:02:17   062
 6. 23/01/2016 11:02:22   058
 7. 23/01/2016 11:02:27   056
 8. 23/01/2016 12:00:01   059

 After it has generated it saves generated values in a plain text file.