Date calculation

  • Thread starter Thread starter sammy
  • Start date Start date
S

sammy

am working on a database with a time field
Is there a way to calculate time differences in an Access
Query? thanks
 
am working on a database with a time field
Is there a way to calculate time differences in an Access
Query? thanks

Look up the DateDiff function in VBA help.

ElapsedTimeInHours:DateDiff("h",[StartTime],[EndTime])

ElapsedTimeInMinutes:DateDiff("n",[StartTime],[EndTime])
 
Back
Top