வார்ப்புரு: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 ஏப்பிரல் 19, 2024 is given by "{{Weekday before date|2024|ஏப்பிரல்|19|Sunday}}" as "பிழை: செல்லாத நேரம்".
Optionally you can format the output using the fifth parameter. For example the first Sunday before ஏப்பிரல் 19, 2024 is given by "{{Weekday before date|2024|ஏப்பிரல்|19|Sunday|d M y}}" as "பிழை: செல்லாத நேரம்".
See also Template:Weekday after Julianday and Template:Weekday after date.