You can use css to hide the chat window first, and then use js to control the display of the chat window. If the time is in this range, change it to the displayed state.
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
Contact me firstname.lastname@example.org