Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tegronakron
tegronakron

ASKER

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