I tried the example you gave me but I get an error and it highlights the ,.

Then I tried just cdate(txtendtime)- cdate(txtstarttime), but that didn't work either.

any other suggestions?

thanks jeffro