Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Webi, Time Difference formula

$
0
0

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]    

Inline image 1


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>