Domanda

I have two datetime fields and I need to show the difference between them. I've used this expression to calculate it:

=DateDiff("n", Fields!hra_atncion.Value, Fields!fcha_incio.Value)

The result column should be on HH:mm, but the result is a Long expression type. Something like 428011156

Any answer will be apreciated!

UPDATE 21/11/2013

How I obtain the time difference in minutes between 12-11-2013 20:00 and 14-11-2013 08:00 ?

È stato utile?

Soluzione

I think, you should try this expression:

=Datediff("h",Fields!StartDate.value,Fields!EndDate.value) & ":" & Datediff("n",Fields!StartDate.value,Fields!EndDate.value) mod 60
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top