# Greetings times is not working

**URL:** <https://community.thunkable.com/t/greetings-times-is-not-working/3678015>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [March 21, 2025, 5:30pm UTC](https://community.thunkable.com/t/greetings-times-is-not-working/3678015 "2025-03-21T17:30:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mint.sanganantmekwd3](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mint.sanganantmekwd3](https://community.thunkable.com/u/mint.sanganantmekwd3)\
**Post date:** [March 21, 2025, 5:30pm UTC](https://community.thunkable.com/t/greetings-times-is-not-working/3678015/1 "2025-03-21T17:30:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/afc686e6c203fe32c15b742175181a7f63860eb8.png)  
Did I do something wrong? It’s not working ☹

---

<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:** [March 21, 2025, 8:07pm UTC](https://community.thunkable.com/t/greetings-times-is-not-working/3678015/2 "2025-03-21T20:07:57Z")

</div>

You need to use elseif instead of having separate if blocks. Each of those three if blocks gets evaluated separately. But you only want to check if the current hour is ≤ 17 if it’s greater than 11. If you replace the if blocks with a single if/elseif/elseif…/else block, it should work.

---

<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:** [June 19, 2025, 8:08pm UTC](https://community.thunkable.com/t/greetings-times-is-not-working/3678015/3 "2025-06-19T20:08:22Z")

</div>

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