Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
I'm trying to store the last sunday in a variable called vLastSunday using makedate function, the format has to be DD/MM/YYYY.
Do you have an idea ?
Thanks,
Victor
Calculate a field with DayName() and use that field in set analysis.
Date(Max({<DayName = {'Sun'}>} DateField),'DD/MM/YYYY')
Maybe this
=Date(WeekStart(Today())-1,'DD/MM/YYYY')
Regards
Pratyush
Thanks for your answer,
I tried your solution but i was not very adapted to my app.
I finally did :
makeweekdate(year(today(1)) , week(today(1))-1 , 6 )
and it works well