pols-utils - v5.3.11
    Preparing search index...

    Function weekdayName

    • Returns the name of the weekday for a given date.

      Parameters

      • date: Date

        The target date.

      • shortName: boolean = false

        If true, returns the abbreviated weekday name (e.g., 'tuesday' becomes 'tue').

      • Optionallanguage: PLanguages

        The language to use for the weekday name. If not provided, the global language is used.

      Returns string

      The full or abbreviated weekday name as a string.