# Calculate actual time, based on Working Hours

**URL:** <https://community.eazybi.com/t/calculate-actual-time-based-on-working-hours/19659>\
**Category:** Questions & Answers\
**Created:** [March 14, 2025, 9:59am UTC](https://community.eazybi.com/t/calculate-actual-time-based-on-working-hours/19659 "2025-03-14T09:59:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Elita.Kalane](https://community.eazybi.com/user_avatar/community.eazybi.com/elita.kalane/32/14957_2.png) [@Elita.Kalane](https://community.eazybi.com/u/Elita.Kalane)\
**Post date:** [March 21, 2025, 12:02pm UTC](https://community.eazybi.com/t/calculate-actual-time-based-on-working-hours/19659/2 "2025-03-21T12:02:22Z")

</div>

Hi @Giorgos

Thanks for posting your question and well done for trying out some of the function to calculate the day difference.  
It seems that the function you are looking for is DateDiffWorkHours - learn more about it here -

> **[DateDiffWorkHours](https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-measures-and-members/mdx-function-reference/datediffworkhours)**

Here is also a different example using this same function - [Working time: Excluding lunch break - #2 by oskars.laganovskis](https://community.eazybi.com/t/working-time-excluding-lunch-break/12216/2)

Best wishes,

Elita from [support@eazybi.com](mailto:support@eazybi.com)

---

_[View the full topic](https://community.eazybi.com/t/calculate-actual-time-based-on-working-hours/19659)._
