# Try to create greeting messages which depends on period of time

**URL:** <https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [April 11, 2024, 6:47am UTC](https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479 "2024-04-11T06:47:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yongkijtjrds06w](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@yongkijtjrds06w](https://community.thunkable.com/u/yongkijtjrds06w)\
**Post date:** [April 11, 2024, 6:47am UTC](https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479/1 "2024-04-11T06:47:27Z")

</div>

Hello, everyone  
I am very new for Thunkable and I am not good at English.  
I’m trying to create greeting messages which depends on period of time.  
For example : Good morning, Good afternoon.  
I use label component for greeting message but I don’t know how to create blocks.  
I searched for answers in many topics but I didn’t found the exactly answer.  
Some comments mention to using clock component but I couldn’t found any clock component but time input and timer only.

Can someone advise me about this ? Please.

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [April 11, 2024, 12:24pm UTC](https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479/2 "2024-04-11T12:24:03Z")

</div>

Hello,

In the blocks section select the Device component and you will see an hours block. You have to create a variable and set it to the hours block. You can then use an If, Then, Else block to set the greeting.

 ![2024-04-11 08 22 04](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/f/cf9105eaf0d04ba13f9891a1d58923eec7477480.png)

---

<div class="post-metadata">

**Author:** ![yongkijtjrds06w](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@yongkijtjrds06w](https://community.thunkable.com/u/yongkijtjrds06w)\
**Post date:** [April 11, 2024, 1:51pm UTC](https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479/3 "2024-04-11T13:51:02Z")

</div>

Thank you so much. I will try to do as your advice.

OK , Finished It works, Thanks a lot again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [July 10, 2024, 1:51pm UTC](https://community.thunkable.com/t/try-to-create-greeting-messages-which-depends-on-period-of-time/2940479/4 "2024-07-10T13:51:20Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
