Hello expert,
I'm using the following formula to get the time difference
=DaysBetween([Subms Dts];[Cmpltd Dts] )*24*60 + ((ToNumber(Substr(FormatDate([Cmpltd Dts] ;"HH:mm:ss") ; 1 ;2))-ToNumber(Substr(FormatDate([Subms Dts] ;"HH:mm:ss") ; 1 ;2)))
*60) + ((ToNumber(Substr(FormatDate([Cmpltd Dts] ;"HH:mm:ss") ; 4;2))-ToNumber(Substr(FormatDate([Subms Dts] ;"HH:mm:ss") ; 4 ;2))) ) + ((ToNumber(Substr(FormatDate([Cmpltd Dts] ;"HH:mm:ss") ; 7; 2))-ToNumber(Substr(FormatDate([Subms Dts] ;"HH:mm:ss") ; 7 ;2)))
/60)
i should get '0' minutes if my submission date colum has null valuel.....then why im getting hours and minutes........
see what i meant?
[Subms Dts] [Cmpltd Dts]