convert second to time format as (01:23:10)

Stimulsoft Reports.NET discussion
Post Reply
Vikas
Posts: 20
Joined: Sat Jul 31, 2010 4:12 am
Location: Delhi

convert second to time format as (01:23:10)

Post by Vikas »

Hi

I have total of 43020 second . I need to convert this in time format as (hh:mm:ss).

How i do this?

Or any other way to sum of time of the multiple rows ?

Please help me.

Thanks
Vikas
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

convert second to time format as (01:23:10)

Post by Ivan »

Hello,

You can use the following expression, for example:

Code: Select all

        {new DateTime().AddSeconds(43020).ToString("hh:mm:ss")}
Thank you.
Post Reply