# Store current time in variable

**URL:** <https://community.homey.app/t/store-current-time-in-variable/105291>\
**Category:** Questions & Help\
**Created:** [March 1, 2024, 5:05pm UTC](https://community.homey.app/t/store-current-time-in-variable/105291 "2024-03-01T17:05:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 2, 2024, 5:24am UTC](https://community.homey.app/t/store-current-time-in-variable/105291/2 "2024-03-02T05:24:22Z")

</div>

Hi Thea,

The time can easily be saved to a variable,  
 ![Screenshot from 2024-03-02 06-31-36](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/5014b37d5b85d65f57e02d9f1fae0bac529c2cb0.png)

but to use it as a time condition is not easy without Homeyscript (as far as I know)  
But, I got this idea using the [Sun Events app](https://community.homey.app/t/app-pro-sun-events-update-sdk3/71043), the flow automatically determines if the panels _should_ produce power but don’t, it then sends a push message:

 ![Screenshot from 2024-03-02 06-20-42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/42e7eb6b2fdf99b6cb94d9f6ae594900ab7afd77.png)

.  
[Azimuth & altitude wiki](https://en.wikipedia.org/wiki/Azimuth)

---

_[View the full topic](https://community.homey.app/t/store-current-time-in-variable/105291)._
