The target date.
If true, returns the abbreviated weekday name (e.g., 'tuesday' becomes 'tue').
Optionallanguage: PLanguagesThe language to use for the weekday name. If not provided, the global language is used.
The full or abbreviated weekday name as a string.
Returns the name of the weekday for a given date.