SumTime function problem

Stimulsoft Reports.PHP discussion
Post Reply
enigmaticus
Posts: 13
Joined: Tue Mar 26, 2013 12:43 pm

SumTime function problem

Post by enigmaticus »

I want to summarize all time fields and my final result should be 32:05:00 and i get 08:05, what is 32:05 - 24:00 and from here is the result 08:05. Is there any way to get the time in format larger than 24 hours?
enigmaticus
Posts: 13
Joined: Tue Mar 26, 2013 12:43 pm

Re: SumTime function problem

Post by enigmaticus »

i got the time from database in seconds, or maybe a way to calculate it with seconds, tnx
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SumTime function problem

Post by HighAley »

Hello.

How do you get the wrong time? You didn't write what data source do you use and what type is your field.
If you will use TimeSpan, you should set the format to hh:mm:ss.
If you will still have any problem then set us your report template for analysis.

Thank you.
enigmaticus
Posts: 13
Joined: Tue Mar 26, 2013 12:43 pm

Re: SumTime function problem

Post by enigmaticus »

MySQL type time , type timespan in stimulsoft, formated to hh:mm:ss, and i use {SumTime(summary.tot)}
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SumTime function problem

Post by HighAley »

Hello.

Sorry for my fault. The format should be next hhh:mm:ss

Thank you.
enigmaticus
Posts: 13
Joined: Tue Mar 26, 2013 12:43 pm

Re: SumTime function problem

Post by enigmaticus »

thank youuu :)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SumTime function problem

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you will need any additional help.

Thank you.
Post Reply