6 Replies Latest reply: Aug 3, 2017 9:25 AM by Yaniv Ben Malka RSS

    Set work week in 'Lastworkdate' function

    Yaniv Ben Malka

      I am using the lastworkdate function, which should return the date once adding x working days to the starting date, for example:


      • lastworkdate ('2007-02-19', 9) returns '2007-03-01'

      How would you set which weekdays should be referred as working days?


      I understood that the default is Monday-Friday, but how can I change it to Sunday-Thursday?


      I tried modifying FirstWeekDay attribute with no success