DEF VAR v_Date AS DATE NO-UNDO.
v_Date = DATE(MONTH(TODAY),13,YEAR(TODAY)).
REPEAT
:
IF WEEKDAY(v_date) = 6
THEN DISPLAY STRING(v_Date,'99/99/9999') FORMAT 'x(10)'
LABEL '"Friday the 13ths"'
.
v_Date = ADD-INTERVAL(v_Date,1,'month').
END.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.