web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow not calculating t...
Power Automate
Unanswered

Flow not calculating the correct days or hours

(0) ShareShare
ReportReport
Posted on by 1,121

Hi Guys,

 

Thanks to the help of another member @fchopo  I have got my flow that works out the days or hours since a column Date Reported was added. The issue is that it isn't bringing back the correct days or hours. I was hoping one of you kind members can help. The Date reported Date is 22/12/20 10:30

 

Flow

 

Screenshot_20201230_170248.pngScreenshot_20201230_170328.pngScreenshot_20201230_170406.pngScreenshot_20201230_170434.png

 

Flow Results

 

Screenshot_20201230_170656.pngScreenshot_20201230_170721.pngScreenshot_20201230_170808.pngScreenshot_20201230_170832.pngScreenshot_20201230_170855.pngScreenshot_20201230_170918.pngScreenshot_20201230_170945.png

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    on at
    Re: Flow not calculating the correct days or hours

    Hi @jbrines,

     

    I think it is caused by the time zone.

    The utcNow() function returns Coordinated Universal Time, so you should convert it to the time in your time zone:

    Screenshot 2021-01-01 110747.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • jbrines Profile Picture
    1,121 on at
    Re: Flow not calculating the correct days or hours

    @v-litu-msft Still doing the same. I am in the UK so was much to convert.

     

    Days show 0 and hours show 13. Not all the list items show dates as they have still to be added.

  • v-litu-msft Profile Picture
    on at
    Re: Flow not calculating the correct days or hours

    Hi @jbrines,

     

    Are these dates always has the same time gap?

    If they are, you could consider using addHours() function to adjust them.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard