LibreOffice 25.2 Help
The WeekdayName function returns the weekday name of a specified day of the week.
        WeekdayName(Weekday as Integer [,Abbreviate as Boolean [,FirstDayofWeek as Integer]])
    String
Weekday: Value from 1 to 7, Monday to Sunday, whose Week Day Name need to be calculated.
Abbreviate: Optional. A Boolean value that indicates if the weekday name is to be abbreviated.
FirstDayofWeek: Optional. Specifies the first day of the week.
| Named constant | གྲངས་ཐང་། | གསལ་བཤད། | 
|---|---|---|
| vbUseSystemDayOfWeek | 0 | Use National Language Support (NLS) API setting | 
| vbSunday | 1 | Sunday (default) | 
| vbMonday | 2 | གཟའ་ཟླ་བ་ | 
| vbTuesday | 3 | གཟའ་མིག་དམར་ | 
| vbWednesday | 4 | གཟའ་ལྷག་པ་ | 
| vbThursday | 5 | གཟའ་ཕུར་བུ་ | 
| vbFriday | 6 | གཟའ་པ་སངས་ | 
| vbSaturday | 7 | གཟའ་སྤེན་པ་ | 
མེད།
        REM  *****  BASIC  *****
        Option VBASupport 1
        Sub Example_WeekdayName
         Dim tgf as Integer
         tgf = 6
         print tgf &" "& WeekdayName(tgf,False,vbSunday)
        End Sub