Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating Time Difference with Time Only Fields

Status
Not open for further replies.

maengler2000

Technical User
Feb 2, 2012
7
US
I need to calculate the time difference between two fields that are time only. Using the DateDiff returns an error that they must be date/time fields.
 
It is not necessary to use DateDiff. Subtract 1 time from the other and the result is the number of seconds between the 2 times.

Cheers
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top