Date calculation

S

sammy

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

fredg

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])
 
Top