الگو:Weekday before date
ظاهر
{{Weekday before date|Y|M|D|W|S}} uses the optional date format string S (defaults to "F d, Y") to return 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 نوامبر ۲, ۲۰۲۴ is given by "{{Weekday before date|۲۰۲۴|نوامبر|۲|Sunday}}" as "خطا: زمان نامعتبر".
See also Template:Weekday after Julianday and Template:Weekday after date.