Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Calculating time total from two entries via Forms and placing into Excel spreadsheet

Good afternoon, everyone, 


I'm working on a Flow which obtains information from a Form.  The issue I'm having is not understanding how to calculate time, or what expression I should use.  I have searched here, but most answers relate to SharePoint, and I am working with Form submissions.  A staff member will enter into the Form a Start Time and an End Time for an appointment.  I need to use the Start Time and End Time to calculate the total time of the appointment with the total result reported out in hours and minutes.  Appointments will occur and conclude in a single day (no appointments will be longer than 14 hours).  


Any assistance and guidance in achieving this is greatly appreciated,

Thank you!


Community Support
Community Support

Hi @Tif 


On this URL you can find a forum where it is indicated how to get the difference between 2 times using the DateDiff formula:

The formula is indicated for PowerApps but you can also use that one in Flow, you can even create a variable and store the result.


Best Regards


If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution

@chsanche Thank you for the assistance and the information; greatly appreciated!  I apologize for taking so long to respond.  I have been pulled off this project temporarily to work on another item.  When I return to this project in the next few weeks, I will try your suggestion and respond here.  Again, my sincere apologies for taking so long to respond.  Thank you so very much for your help!


Have a wonderful day!


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,243)