web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calculating the differ...
Power Apps
Unanswered

Calculating the difference between start and end time. Calculated field required for HH:MM:SS

(0) ShareShare
ReportReport
Posted on by 56

Hi all,

 

I have been trying to build a calculated column that calculates the difference between Start and an end time in Dataverse. Both columns are Date and Time data types. I'd like the calculated column sum result to be in the HH:MM:SS format.

 

I have tried the Datediff calculation and using a TEXT formula eg. TEXT(End Time - Start Time, "hh:mm:ss") but it errors.

 

Any help on the calculation  is much appreciated.

 

Thanks

I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @eel1 if you're talking about Calculated Columns, TEXT is not a supported function:

     

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/define-calculated-fields

     

    The same applies to Formula Columns (Power FX):

     

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/formula-columns

     

    A very fast and effective alternative is to create a Text column in your table, and then use Power Automate to populate that field.

     

  • LucaAlberigi88 Profile Picture
    19 on at

    Hello

    have you tried:

    DateDiff(date1,Now(),Hours) & DateDiff(date1,Now(),Minutes) etc?


    obviously change date1 and now() with your dates

    Luca

  • eel1 Profile Picture
    56 on at

    Thanks both for the replies. I have sorted it, thanks again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard