Hi, Just commenting on one point... > I am curious that I had to convert the : to a , in the time variable. The expression: time(x,y) is exactly equivalent to x:y if x is an integer from 0 to 23 and y is an integer from 0 to 59. So you could simply use x:y directly rather than making the time() function call. Regards, Dianne.