# Using a variable in a "Date and Time" flow

**URL:** <https://community.homey.app/t/using-a-variable-in-a-date-and-time-flow/73799>\
**Category:** Questions & Help\
**Created:** [December 18, 2022, 4:27pm UTC](https://community.homey.app/t/using-a-variable-in-a-date-and-time-flow/73799 "2022-12-18T16:27:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Hamster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hamster/32/16580_2.png) [@Hamster](https://community.homey.app/u/Hamster)\
**Post date:** [December 18, 2022, 6:23pm UTC](https://community.homey.app/t/using-a-variable-in-a-date-and-time-flow/73799/4 "2022-12-18T18:23:47Z")

</div>

Using an Alarm sounds great, but how do I edit an existing Alarm so it will use my “TVProgramStartTime” variable?

Looking at the Alarm options, I can only “Enable” or “Disable” alarms, but I can’t find anything to set an alarm to my variable.

Found the solution in this post:

> [@\[APP\]\[Pro\] Advanced Triggers - Trigger and action cards with eventname for Advanced Flows](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651/128):
>
> No, i don’t see that posibility right now in AT. Technicly it could be made, but placing variables in the Trigger, i am not sure that thats a very good idea, performance wise. I might look into it (some day/right now a bit). But first let’s see if i have a better solution for you: The default Homey Alarms. Perhaps it’s best you create 1 or 3 Alarms for this. This gives you some excellent management options through the Homey app. And, the only thing missing is a flow to set the times, but h…

---

_[View the full topic](https://community.homey.app/t/using-a-variable-in-a-date-and-time-flow/73799)._
