# Days since date

**URL:** <https://community.homey.app/t/days-since-date/100868>\
**Category:** Questions & Help\
**Created:** [January 12, 2024, 7:10am UTC](https://community.homey.app/t/days-since-date/100868 "2024-01-12T07:10:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredrik\_Tornell](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredrik_tornell/32/48574_2.png) [@Fredrik\_Tornell](https://community.homey.app/u/Fredrik_Tornell)\
**Post date:** [January 12, 2024, 7:10am UTC](https://community.homey.app/t/days-since-date/100868/1 "2024-01-12T07:10:21Z")

</div>

Hi team,  
Im trying to count how many days its been since Oct 1, 2022 in a flow every time it runs - how can that be achieved?  
Once I have the number of days I have some additional calculations I have to execute.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [January 12, 2024, 7:17am UTC](https://community.homey.app/t/days-since-date/100868/2 "2024-01-12T07:17:33Z")

</div>

Hi

I think [[APP][Pro] Better Logic Library - For Users](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876) could help you with this.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 12, 2024, 3:54pm UTC](https://community.homey.app/t/days-since-date/100868/3 "2024-01-12T15:54:26Z")

</div>

If you use advanced flow then it’s really simple with the [Custom Logic](https://homey.app/en-de/app/nl.lrvdlinden.custom-tokens/Custom-Logic/) app. You just need this flow card:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d8047498e6a835d4320c7893efcadc75a7470f2.png)

Type 01-10-2022 into the first field. For the second field you have to use the Homey date tag:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/06f7eac0da990163a38fa3c93e1629faf9d5f10f.png)

As result you receive the days between the first and the current date.
