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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference between 2 times

Status
Not open for further replies.

mbryantuk

Programmer
Aug 3, 2007
29
GB
Hi

I have 2 date fields start date and end date and i would like to get the time difference in HH:MM:SS so that i can store the data in a view for reporting, This would also need to handle going over the the next day so starting at 2300 and finishing at 0400

Thanks for your help

Matt
 
How about date1 - date2 ?

Then Convert with a 108

____________ signature below ______________
You are a amateur developer until you realize all your code sucks.
Jeff Atwood

 
Of course I subtracted backwards. Early ;)

____________ signature below ______________
You are a amateur developer until you realize all your code sucks.
Jeff Atwood

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top