Substracting Times & Get A General Number In A Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a Start Time column and an End Time column. I want to create a new
column that will subtract the End Time from the Start Time and give me a
general number. I've tried the following formulas but they don't seem to
work.

=Format(CDate([strDate] & " " & [strStartTime])-CDate([strDate]+1 & " " &
[strFinishTime]),"Short Time")

And

=Sum(DateDiff("n",[strDTStartTime],[strDTEndTime]))/60

The query will only run with the first formula and not the second. Any
suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top