قالب:Weekday before date
{{Weekday before date|Y|M|D|W}} returns the date of the first W (=Sunday, Monday, ..., Saturday) before the specified date with year Y, month M, and day of month D.
The first Sunday before يوليو 1, 2024 is given by "{{Weekday before date|2024|يوليو|1|Sunday}}" as "يونيو 30, 2024".
See also Template:Weekday after Julianday and Template:Weekday after date.