Can someone please guide me how to hide weekends from modern calendar. Options that I could find are related to classic calendar in SharePoint.
You cannot hide weekend days from SharePoint OOTB calendar views in lists.
- Hide Page Title and Command bar from Modern UI SharePoint pages
- "Modern Script Editor Feature" not available for activation from site features page
Note: DOM manipulation & CSS customizations are not recommended by Microsoft and some of your customization may break if Microsoft changes HTML element id/classes in new release updates.
You can also use calendar web parts created using SPFx which you can customize according to your requirements. Check below SPFx samples: