Many thanks, it appears I am as thick as I thought I was....i have used
time() before.........

Many thanks all

Duncan