FULLSCREEN CONTENTS Project Home Page
.FUNCTION....: COMP - compare date/times
.ALIAS.......: DATICOFU
.DISCUSSION..:
COMP
============================================

FDATE /Fcomp /Adate /Bdate /Iformat

COMP compares the dates specified on the /A and /B parms (time
granularity = 1 day).


In addition, the errorlevel is set to a special value:
LT = 101 EQ = 102 GT = 103


TCOMP
============================================

FDATE /Ftcomp /Adate /Bdate /Iformat

TCOMP compares the times (time granularity = 1 second) specified on the /A and /B parms.

This is useful when input format /If (file) is specified. It can be used to compare the timestamps of two files and determine which is older.

.EXAMPLE:
   Fdate /Ftcomp /If /AFooBar.1 /Bfilezzz.1

          returns         when
            LT            /A  is less than    (earlier than) /B
            EQ            /A  is equal to     (same as)      /B
            GT            /A  is greater than (later than)   /B

          In addition, the errorlevel is set to a special value:
            LT = 101     EQ = 102     GT = 103