.FUNCTION....: Comp - Compare Dates
.CATEGORY....: functions
.DISCUSSION..:
Fdate /Fcomp /Adate /Bdate /Iformat
COMP compares the dates specified on the /A and /B parms (time
granularity = 1 day).
- returns "LT" when /A is less than (earlier than) /B
- returns "EQ" when /A is equal to (same as) /B
- returns "GT" when /A is greater than (later than) /B
In addition, the errorlevel is set to a special value:
- LT = 101
- EQ = 102
- GT = 103