I'm trying to exclude negative time differences only when the time goes from somewhere in the 23:00 hour to the 00:00 hour.  I can't seem to get this code right.  Unfortunately, I do not have dates associated with the times or that would solve everything.  Here is the code I'm working with:
DO I=1 TO 72;
IF DECONSET{I} NE . AND (DECONSET{I+1}-DECONSET{I}<=0) AND (DECONSET{I+1}-DECONSET{I} NE .) THEN PUT READER= CUSTOMID= DECONSET{I}= DECONSET{I+1}=;
END;
I don't want this code to output the times that go from 23:00 to 00:00.  I tried writing in the code to exclude differences less than -83000 when '23:00't<=DECONSET{I}<='23:59't , but that didn't seem to work.
Thanks in advance for your help!
    
Message was edited by: statadm
Message was edited by: statadm
Message was edited by: statadm