Calculate Time between two Dates in RDLC Report using C# and VB.Net in ASP.Net

Last Reply 8 months ago By pandeyism

Posted 8 months ago

Hello All,

I have 2 fields i want the diffrence between the 2 time fields in "HH:MM:ss" format RDLC report.

2 Fileds:

Fields!TimeIn.Value = "05:30:00"

Fields!StartTime.Value ="05:41:12 "

 

I want the result like Result = "00:11:12"

 

I have tried like the below code it will give only minutes

 

DateDiff(DateInterval.Minute,Fields!TimeIn.Value,Fields!StartTime.Value)

 

This question does not have replies that have been liked.