Adding the date

Added the date to the output
Changing how the dotime function is called (timeout -> interval)