# Help with greetings times

**URL:** <https://community.thunkable.com/t/help-with-greetings-times/3434620>\
**Category:** Questions about Thunkable X\
**Created:** [December 25, 2024, 10:52pm UTC](https://community.thunkable.com/t/help-with-greetings-times/3434620 "2024-12-25T22:52:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)\
**Post date:** [December 25, 2024, 10:52pm UTC](https://community.thunkable.com/t/help-with-greetings-times/3434620/1 "2024-12-25T22:52:13Z")

</div>

Help with greetings times i thik i have it all wrong

 ![greet](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/a/3a3826f62647879c2ab41c02dd416e668b905351.png)  
can someone plz help me with these blocks ?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 25, 2024, 11:33pm UTC](https://community.thunkable.com/t/help-with-greetings-times/3434620/2 "2024-12-25T23:33:27Z")

</div>

You’re thinking about this the right way but there’s a key piece of how blocks work that you’re not following:

**Each block gets evaluated in order.** For example `if [current hour] = [5 < 12]` first starts by checking to see if 5 is less than 12. Since it is, the \< block returns TRUE. Then your = block is checking to see if the current hour (let’s say 9) is equal to TRUE. That doesn’t make sense. We can’t really compare the number 9 to the value TRUE.

What you want instead is `if current hour > 5 AND current hour < 12` do…

It’s important that you don’t compare numbers to text. The 12 block is not the same as the “12” block. You should only be using the number blocks here.

---

<div class="post-metadata">

**Author:** ![kizzy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kizzy/32/76421_2.png) [@kizzy](https://community.thunkable.com/u/kizzy)\
**Post date:** [December 26, 2024, 11:20am UTC](https://community.thunkable.com/t/help-with-greetings-times/3434620/3 "2024-12-26T11:20:11Z")

</div>

ok

---

<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:** [March 26, 2025, 11:20am UTC](https://community.thunkable.com/t/help-with-greetings-times/3434620/4 "2025-03-26T11:20:38Z")

</div>

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