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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / utcNow() Resulting in ...
Power Automate
Answered

utcNow() Resulting in a Rounded Hour Time of "9 Hours Ago"

(0) ShareShare
ReportReport
Posted on by 43

I have created a flow which takes the time of 'now' each time something is approved, and saves that date/time

 

However, it keeps saving the time as 9 hours ago, rounded to an exact hour. 

 

For example, if it is 10:25AM the flow will save the time 1:00AM

 

The expression I am using is: string(formatDateTime(utcNow(),'dd/MM/yyyy hh:mm tt'))

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,683 Super User 2025 Season 2 on at

    Hi @APM1994 

     

    utcNow() returns time in UTC. So, you will need to convert UTC to your local time zone:

     

    Snag_dc4e049.png

    Snag_dc31a8d.png

    Or using expressions:

    convertFromUtc(utcNow(),'Tokyo Standard Time', 'dd/MM/yyyy hh:mm tt')

    For a list of time zones, see Default Time Zones | Microsoft Learn

     

    ekarim2020_0-1666695430147.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    I would suggest using the Convert time zone to get the current UTC time in your own time zone and with the format you want.

     

    grantjenkins_0-1666695307217.png

     

    The output would be something like this:

    grantjenkins_1-1666695359910.png

     

    You would then be able to reference the output of Convert time zone (or whatever you want to name it) in your flow to get the date/time.

    grantjenkins_2-1666695507433.png

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard