# How to trigger an action from a certain time

**URL:** https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162
**Category:** Questions about Thunkable X
**Created:** [September 7, 2022, 7:16am UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162 "2022-09-07T07:16:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [September 7, 2022, 7:16am UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/1 "2022-09-07T07:16:54Z")

</div>

Hi

it seems simple, but what I tried does not work: trigger an action from a certain time I compare the time of the device to the time of the action (a text variable transformed into numeric in adding zero) and i use a timer to repeat each minutes

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [September 7, 2022, 8:23am UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/2 "2022-09-07T08:23:45Z")

</div>

> [@bibbi](#):
>
> (a text variable transformed into numeric in adding zero

This might be the source of the issue @bibbi - can you share a screenshot of the blocks you’re using to do this?

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [September 7, 2022, 2:53pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/3 "2022-09-07T14:53:19Z")

</div>

hi

here are my blocks

 ![Capture d’écran 2022-09-07 à 16.45.40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/ae4d383c2d44dee0f6dcedc8054cd16c36e725c6.png)

![Capture d’écran 2022-09-07 à 18.19.40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/54ed3e498f086350bd5b1d064630826ebfff078a.png)

---

<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: [September 7, 2022, 4:41pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/4 "2022-09-07T16:41:08Z")

</div>

I don’t know if this is causing a problem but you’re comparing a string (“1830”) to a number. I would make the _houraction_ variable a number or convert it by adding zero to it.

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [September 7, 2022, 4:42pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/5 "2022-09-07T16:42:56Z")

</div>

hi

thanks for your support

i think it’s what i did in the Timer1 Fires blocks

sorry i think i have forgotten something

I fixed it but it still doesn’t work

---

<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: [September 7, 2022, 10:11pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/6 "2022-09-07T22:11:00Z")

</div>

Have you confirmed that your timer is firing?

Have you confirmed that the variables have the values you expect them to have?

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [September 8, 2022, 5:09pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/7 "2022-09-08T17:09:23Z")

</div>

hi  
indeed  
1904 becomes 194

how to keep zero?

---

<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: [September 8, 2022, 5:31pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/8 "2022-09-08T17:31:15Z")

</div>

Use the [test block](https://docs.thunkable.com/control#test). If the `current minute` value is less than 10, join a “0” to the front of it. If not, just use the `current minute` block.

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [September 8, 2022, 5:35pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/9 "2022-09-08T17:35:05Z")

</div>

hi

I thought I knew everything about hours

thank you

---

<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: [December 7, 2022, 5:35pm UTC](https://community.thunkable.com/t/how-to-trigger-an-action-from-a-certain-time/2031162/10 "2022-12-07T17:35:22Z")

</div>

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