# Calculate time in hours

**URL:** <https://community.homey.app/t/calculate-time-in-hours/108326>\
**Category:** Questions & Help\
**Created:** [April 16, 2024, 7:51pm UTC](https://community.homey.app/t/calculate-time-in-hours/108326 "2024-04-16T19:51:45Z")\
**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:** [April 17, 2024, 2:33am UTC](https://community.homey.app/t/calculate-time-in-hours/108326/2 "2024-04-17T02:33:38Z")

</div>

Hi Harmen,

> [@\[APP\]\[Pro\] Better Logic Library - For Users](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/144):
>
> found it! This calculates the difference between the two times in minutes Note that the logic cards needs to be set to text, not variable!

---

_[View the full topic](https://community.homey.app/t/calculate-time-in-hours/108326)._
