Numerous input kinds, including text boxes, radio buttons, dropdown menus, multi-select boxes, etc., are available in the Magento 2 admin panel. These fields' input values are saved and displayed in a variety of grids, forms, fields, pictures, etc.
Developers may need to offer the ability to select which days of the week to include or exclude from a module's functions when creating Magento 2 extensions or custom features.
For instance, the admin could choose which days of the week a consumer can make an appointment or which days the store would offer delivery.
The aforementioned technique is beneficial even if you want the store administrator to keep track of the days off in accordance with business needs.
In each of these scenarios, you must get a weekday list in Magento 2 system configuration.
For more information, Visit: https://meetanshi.com/blog/get-week-days-list-in-magento-2-system-configuration/