Page Greeting (Good Morning, Afternoon, Evening, Night)

How do you code text to change based on time. If local current time is between 6AM - 12:00Noon .text = Good Morning ; 1PM - 5:00PM .text = Good Afternoon … etc.

The Open for Business example does something similar to what you want. You can easily adapt the code to your own use case.