I have WEDATE Table which has a field called WKEND , I need to read the table and print Weekend dates for a month.please I need help. by the way the table is string but it is Date table.
It would help if you gave the layout format of the date string.
Depending on the format, such as MMDDYYYY, create the following formula, WKEND
Code:
//@WKEND - Change string date to actual date
numbervar d := tonumber(left({WEDATE.WKEND},2));
numbervar m := tonumber(mid({WEDATE.WKEND},3,2));
numbervar y := tonumber(right({WEDATE.WKEND},4));
date(y,m,d)
In record selection, add the following to get the weekend dates
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.