It looks like you're new here. Sign in or register to get started.
del_toro02 wrote: when I try IF Date = 31018D THEN, I get the error msg "There is an error in a constant"
if (MyDateVar = 310108D) then;
Answers
Another choice is compare with Day Month or Year. Like this:
DATE2DMY(Date,1) --> Day
DATE2DMY(Date,2) --> Month
DATE2DMY(Date,3) --> Year
use following:
The problem in your source is the incorrect DateFormat.
Regards
310108D