January 13th, 2011, 08:30 AM
You are ok with inserting the value of the number of records into the file, just repeat the same type of operation/function, but this time with suitable output from the date command:
runtime=$(date "+%x at %R")
Note that the %x pre-supposes your locale date format is d/m/y. If it isn't it is simple enough to construct the right format.
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc