richrich05
Programmer
I'm trying to to calculate two datetime fields into total minutes and hours. Anyone know a way to do this function?
Something like (Starttime)(Endtime) = Totaltime
Something like (Starttime)(Endtime) = Totaltime
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
declare @Start DateTime
Declare @End DateTime
Set @Start = '6/10/2007 8:15 AM'
Set @End = '6/10/2007 10:55 AM'
Select @End - @Start