I currently have a calculation that takes a user driven start and end time[dtmStart] and [dtmEnd] and creates a calculated time frame ((dtmEnd-dtmStart)*60*24 AS [Minutes]) that returns the total number of minutes in between the two times. My next step converts the number into hours: ([Minutes]/60 AS [Hours]). Is there a way for me to extract the information from [Hours] left of the decimal(.) to give me the full hours?
Example:
Start Time: 10:02
End Time: 16:20
Minutes: 378
Hours: 6.3
----------Below are my desired results-----------
Final Hours: 6
Final Minutes: 18
Any ideas would be greatly appreciated. Thanks for your help!
Example:
Start Time: 10:02
End Time: 16:20
Minutes: 378
Hours: 6.3
----------Below are my desired results-----------
Final Hours: 6
Final Minutes: 18
Any ideas would be greatly appreciated. Thanks for your help!