LibreOfficeDev 25.8 Help
BBNbm‖Weekend is an optional parameter – a number or a string used to specify the days of the week that are weekend days and are not considered working days. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
AakfY‖Number 1 to 7 for two-day weekends and 11 to 17 for one-day weekends.
| rKxJb‖Number | euMMc‖Weekend | 
|---|---|
| LWeNA‖1 or omitted | 3cRzD‖Saturday and Sunday | 
| 2 | BjCLD‖Sunday and Monday | 
| 3 | r3QJD‖Monday and Tuesday | 
| 4 | U3EVB‖Tuesday and Wednesday | 
| 5 | rAcyU‖Wednesday and Thursday | 
| 6 | Q2zu4‖Thursday and Friday | 
| 7 | X5Gad‖Friday and Saturday | 
| 11 | j2EUP‖Sunday only | 
| 12 | FDz4C‖Monday only | 
| 13 | sB6N2‖Tuesday only | 
| 14 | hfLfG‖Wednesday only | 
| 15 | rgZWA‖Thursday only | 
| 16 | BgBBD‖Friday only | 
| 17 | gL7GC‖Saturday only | 
nKGoe‖Weekend string provides another way to define the weekly non-working days. It must have seven (7) characters – zeros (0) for working day and ones (1) for non-working day. Each character represents a day of the week, starting with Monday. Only 1 and 0 are valid. “1111111” is an invalid string and should not be used. For example, the weekend string “0000011” defines Saturday and Sunday as non-working days.
GBVCD‖Holidays is an optional list of dates that must be counted as non-working days. The list can be given in a cell range.