maxmangion
AWF VIP
- Local time
- Today, 20:04
- Joined
- Feb 26, 2003
- Messages
- 2,805
Hi,
I have two fields in a query which their datatype is set to Date/Time. I am using the following to calculate their difference, and it works fine.
Format([StartTime]-1-[EndTime],"Short Time")
How can i amend the above code to deduct 8 hrs from the result returned ? i.e. if the result is 9 hrs 10 mins, i want to deduct 8 hrs so that it will display 1 hr 10 mins
Thank you for any advice.
I have two fields in a query which their datatype is set to Date/Time. I am using the following to calculate their difference, and it works fine.
Format([StartTime]-1-[EndTime],"Short Time")
How can i amend the above code to deduct 8 hrs from the result returned ? i.e. if the result is 9 hrs 10 mins, i want to deduct 8 hrs so that it will display 1 hr 10 mins
Thank you for any advice.