Hi.
Thanks for your suggestion. I am told that Date.mon and Date.monday do
not exist as functions so I could not use your sample.
I have gotten the previous monday in a more long-winded way currently
with:
Date.today().moveToDayOfWeek(1).addWeeks(-2)
This I think moves to the next Monday and then I go back 2 weeks.
Seems to do the job but I would prefer your method if it worked!
Thanks :)