Hello All,
I'm unable to get the exact calculation of date and time difference even after searching alot.
What I want is to calculate date and time difference which returns me data in Date, Hours and Minutes(optional) But want to calculate it with AM/PM included:
I request you to please review my code where I'm lacking:



Ineed to calculate the time difference when including AM/PM.How I leverage this at in this code
OnSelect of StartDate
Set(_timedifference,With({wTime:DateDiff(Time(Value(drpFromHrs.Selected.Value),Value(drpFromMin.Selected.Value),0),Time(Value(DrpToHrs.Selected.Value),Value(drpToMin.Selected.Value),0),Minutes)},RoundDown(wTime/60,0)&"Hrs :"&Mod(wTime,60)&" Min"));
Thanks in advance