I have two dates, declared as StartDate and EndDate. I can display the difference between each date in either hours or minutes, but I can not figure out how to display both hours and the remaining minutes.
For example, f the StartDate is the 1st April 2019 at 1:00 am and EndDate is the 2nd of April 2019 at 1:30 am, I want it to calculate the difference as 24 hours and 30 mins rather than rounding to the nearest hour with the DateDiff function.
This is the formula in use: DateDiff(txtStartDate.SelectedDate, txtEndDate.SelectedDate, Hours)
Any help would be appreciated!