Link to home
Create AccountLog in
Avatar of tegronakron
tegronakron

asked on

crystal reports sum up date fields in format DD:HH:MM:SS

I am trying to find the sum of the downtime in format DD:HH:MM:SS
Here is what i currently have:
Totext({#SecondsTotal}/86400,'00')
 & ":" &
Totext(Remainder({#SecondsTotal},86400) ,'00')
& ":" &
Totext(Remainder({#SecondsTotal},3600),'00')
& ":" &
Totext(Remainder({#SecondsTotal},60),'00')

The problem is that it is not rolling up the leftover seconds to the minutes column, hours, and days.  
I read somewhere about adding these in but I dont know how to do it.
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of tegronakron
tegronakron

ASKER

Wow that works great, saved me a ton of time!
Thanks
Glad to help.