bmcauliffe2
Technical User
This works for getting the Monday of the current week (system time).
Date (Year (CurrentDateTime),1,1)+7*({@weeknumber}-1)-DayOfWeek (Date (Year (CurrentDateTime),1,1))+2
With @weeknumber= int(DatePart("ww",CurrentDate))
Can anyone show me a muh cleaner way of getting the same result please ?
Thanks
Date (Year (CurrentDateTime),1,1)+7*({@weeknumber}-1)-DayOfWeek (Date (Year (CurrentDateTime),1,1))+2
With @weeknumber= int(DatePart("ww",CurrentDate))
Can anyone show me a muh cleaner way of getting the same result please ?
Thanks