Ashfaque
Search Beautiful Girls from your town for night
- Local time
- Tomorrow, 01:08
- Joined
- Sep 6, 2004
- Messages
- 894
I have 2 columns in my server table i.e. OTFrm(time(7)) and OTTill(time(7)) that placed on my MS Access subform.
The time I have entered is as follows
15:20:00.0000000
16:22:00.0000000
How can I calculate the difference between these two times in OTTotHrs?
I tired with this
Dim X
X = DateDiff("n", OTFrm, OTTill) \ 60
OTTotHrs=X
But it produces Run-time error 13 - Type mismatch
Anyidea?
The time I have entered is as follows
15:20:00.0000000
16:22:00.0000000
How can I calculate the difference between these two times in OTTotHrs?
I tired with this
Dim X
X = DateDiff("n", OTFrm, OTTill) \ 60
OTTotHrs=X
But it produces Run-time error 13 - Type mismatch
Anyidea?