>HI, I have two values that are DateTime type. I want to substract value 2 - value 1 in order to display the elapsed time :
>
>exe_start-exe_end
>It gives me a number like 1432. I thank that it represents seconds. Is that it ? If yes, How can I display it in format hh-mm-ss.
>
>Thank you,
>Christian Cote
It is seconds. Just do some math:
1432 / 60 = 23.86 minutes
.86 * 60 = 51.6 seconds
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer