I want to show the week number of shipment orders.
I have it almost working with the following code:
InputDate := 011117D;
WeekNumber := DATE2DWY(InputDate, 2);
Obviously its not correct as the date is hard coded.
How do I assign InputDate to another variable I have which holds the correct shipment order date?
So the value of InputDate will be assigned to shipment date?
Thanks!
*This post is locked for comments