Change text when it's different time of the day!

Hello, I'm new to this and I want to create a simple app that displays different messages during the day. For example, showing "Good morning when it's between 6 and 12 am; Good afternoon when it's between 12 and 5 pm; Good night at 11pm...". How should I do it?

Look in the Sensors Drawer in the Designer for the Clock Component.

It has a Now() block that returns the current Instant.

It also has a block that can take an Instant and return the Hour (0-23) of that Instant.

Here is the chapter on making decisions in the free online book ...