Calculate the difference between two Date/Time in PowerApps

preview_player
Показать описание
This video explains how you can calculate the difference between two Date/Time in PowerApps (Canvas App).

Blog links for the code of PowerApps:

Websites:

#canvasapp #powerplatform #powerapps #powerapp #PowerFx #formulas #formula #dateTime #collection

Thank You.
Рекомендации по теме
Комментарии
Автор

do you have more detail video about this one?

thank you

vashj
Автор

Hi Trivia,

I need your help big time and hoping you would help as I couldn't find any solution by googling.
Currently, I'm implementing event form in which I need to calculate total hours between 2 dates, time and minutes. If date is same then calculate hours using Time and Minute otherwise calculate hours based on Date, hours and minutes between 2 dates.

eg:- Start Date: 04/24/23, Hour: 8 AM, Minute: 30 and End Date: 04/24/23, Hour: 12 PM, Minute: 30 should return 4 hours otherwise number of hours divided by 8 as 8 hours is the longest event time per day. Could you help me with formula?

shahabkadri
Автор

hello friend - I need to write a code for a difference in days between two dates. Can you help?

amunra
Автор

Hello!

How to find the number of hours worked by employee ABCD knowing that we have a table that looks like this:

Employee || Date ||Start time ||End time

ABCD || 01/01/2022 || 08:00 || 11:01
ABCD || 01/01/2022 || 12:05 || 15:00
ABCD || 01/01/2022 || 15:55 || 18:16

Please help me.

donjultchi-ngoma