Hello,
I'm having difficulty with my time formula for a specific scenario. It is working correctly but producing too much time in some instances.
I'm using a calculated field with the following formula to find the total time worked each day:
cast (Datediff(hour, [@field:Start_TIme], [@field:End_Time])%24 as varchar)+' hours,'+
cast (Datediff(minute, [@field:Start_Time], [@field:End_Time])%60 as varchar)+ ' minutes'
The formula is working when:
The time calculated is more than an hour (i.e. 2:00 PM to 4:45 PM) = 2hrs, 45 minutes (CORRECT RESULT)