XUDELTATIME (102)    FUNCTION (.5)

Name Value
NAME XUDELTATIME
MUMPS CODE S X=$S(X&X1:X,1:"") Q:'X D H^%DTC S XUS1=%H*86400+%T,X=X1 D H^%DTC S XUS2=%H*86400+%T,X=$S(XUS1>XUS2:XUS1-XUS2,1:XUS2-XUS1)
EXPLANATION RETURN THE NUMBER OF SECONDS BETWEEN TWO FILEMAN DATES
DATE-VALUED NO