Hi @Setayesh2
The data in your formula is the value obtained from the data source. If you want to obtain the value from the control, should refer to the value of the control.
Please try following formula:
With(
{
days: RoundDown(DateDiff(DateValue1.SelectedDate + Time(
Value(HourValue1.Selected.Value),
Value(MinuteValue1.Selected.Value),
0
),
DateValue2.SelectedDate + Time(
Value(HourValue2.Selected.Value),
Value(HourValue2.Selected.Value),
0
), Hours) / 24, 0),
hours: Mod(RoundDown(DateDiff(DateValue1.SelectedDate + Time(
Value(HourValue1.Selected.Value),
Value(MinuteValue1.Selected.Value),
0
),
DateValue2.SelectedDate + Time(
Value(HourValue2.Selected.Value),
Value(HourValue2.Selected.Value),
0
), Minutes) / 60, 0), 24),
minutes: Mod(DateDiff(DateValue1.SelectedDate + Time(
Value(HourValue1.Selected.Value),
Value(MinuteValue1.Selected.Value),
0
),
DateValue2.SelectedDate + Time(
Value(HourValue2.Selected.Value),
Value(MinuteValue2.Selected.Value),
0
), Minutes), 60)
},
days & " day(s), " & hours & " hour(s) and " & minutes & " minute(s)"
)

Hope the content above may help you.
Best Regards
If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.