Hi,
I have to calculate hours from given start and end time. For example:
Both times are always be in the same day, and 24 hour time format is used only with 15 minute interval. I need to calculate total hours of difference sessions, so the above coding will actually go in a "for loop" where different start/end times will be passed and the results of each will eb agregated in one variable, in the end total time spent should be produced.
Thanks alot for help
/Adam
I have to calculate hours from given start and end time. For example:
Code:
Dim starttime, endtime, totaltime
starttime = "09:00"
endtime = "16:45"
' This is where i want to get the difference between above
totaltime = endtime - starttime
' The resulting value/string should be 07:45
Both times are always be in the same day, and 24 hour time format is used only with 15 minute interval. I need to calculate total hours of difference sessions, so the above coding will actually go in a "for loop" where different start/end times will be passed and the results of each will eb agregated in one variable, in the end total time spent should be produced.
Thanks alot for help
/Adam