I have an easy question I hope.
I have a form in access with the following fields DOS (date/time),TypeOfService(text),DayStart(date/time),DayFinish(date/time). Now I want to take the DayFinish-DayStart and get how many hours. I got it to work except for when you start at 10:00PM and end at 12:00AM. The result of this is -22 hours. I tried to concatenate the DOS&DayStart and then DOS&DayFinish and then use DateDiff in a third new text field on the form.
All of the time related fields I am using date/time and have tried switching the format to general, standard, shorttime,mediumtime,longtime. I have tried looking through several of the reference books I have and have not found any reference on how to do this.
Can anyone steer me in the right direction.
Thanks,
Debit19