I use iftttIFTTT to put my phone in doDo not disturbDisturb (DnD) mode based on date and time. Then set exclusions from dndDnD on the apps I want to get notifications on during that time frame. It will suppress all notifications based on time but let through the excluded apps.