Streaming live at 10am (PST)

Cutom Code Help

Hey guys,

so im making a restaurant website and i did some custom code for that, because i dont want anybody to order food before a specific time for example (8pm). (in this code i used 14:31,…)

My problem now is, that i dont just want a text saying “Closed” or “open”, i want to create a beautiful image with text inside a div and then write some code, so if current time 8pm, this div will be visible and if its after 8pm, hidden so users can navigate through the site.

How can i edit this custom code so the div is visible before 8pm and hidden after 8pm?