Hi@Paresh_K,
Based on the issue you mentioned, you want to display the date-time difference in minutes in your form.
I think the best way is to add labels to respectively display Activity start time, Activity end time, and time difference in minutes.
I have a test on my side, please take a try as below:
- Create an app directly from your SP list.
- Insert 3 labels below the two date datacards
- Set the Text property of the Labels as below:
Label1 for Activity start date-time:
Text(
DateValue1.SelectedDate + Time(Value(HourValue1.Selected.Value), Value(MinuteValue1.Selected.Value), 0),
DateTimeFormat.ShortDateTime)
Label1_1 for Activity end time date-time:
Text(
DateValue2.SelectedDate + Time(Value(HourValue2.Selected.Value), Value(MinuteValue2.Selected.Value), 0),
DateTimeFormat.ShortDateTime)
Label1_2 for the time difference in minutes:
DateDiff(
DateTimeValue(Label1.Text),
DateTimeValue(Label1_1.Text),
Minutes)
Note: Value1/2 represents Activity start/end time value.

Best Regards,
Qi Qiao