Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
  • 1.  Component - Show number value as "h:mm"

    Posted Sep 20, 2021 05:43 AM

    i am calculating time differences in my app, e.g. 8 a.m. - 4:30.p.m. --> 8.5 hours.
    To show these number values as a time format (8:30 instead of 8.5), i created a component.
    This is what the formular looks like.

    For positive values, it works fine, but for negative values, it shows a minus before the minutes as well.
    Can you help me how to remove the second minus?

    Fabian Heil

  • 2.  RE: Component - Show number value as "h:mm"
    Best Answer

    Top Contributor
    Posted Sep 21, 2021 01:07 AM
    Edited by Fabian Heil Sep 22, 2021 02:40 AM

    If your time difference is in minutes, you could try this:

    Will Page
    Technical consultant
    Christchurch, NZ

  • 3.  RE: Component - Show number value as "h:mm"

    Posted Sep 22, 2021 02:41 AM
    This works, thank you very much :)

    Fabian Heil