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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Timestamp appearing wrong
Power Automate
Answered

Timestamp appearing wrong

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

I'm trying to get the date to correctly display in my Google Sheets but when I convert the current time it's basically displaying the time (PM) as an AM time. e.g. My command is run at 17:11 PM but it's showing 05:11 - How can I go about fixing this? I'm currently using the following for the time.

 

PaulPrime92_0-1660148303953.png

And I'm getting the below from the output - It appears to be 12 hours out but the destination time zone should be correct.

PaulPrime92_2-1660148394913.png

please note were currently on UTC(+1) due to BST but the output should be showing as 17:06:10 in the above 

 

If there's any other ways to go about this I would be most appreciative as I was originally using the utcnow() within formatdatetime prior to switching over to this method due to wrong times being displayed. Any advice would be appreciated.

 

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,823 Super User 2026 Season 1 on at

    Hi @Anonymous ,

     

    The times that are shown appear to be correct. The following formatting examples may help:

     

    utcNow('dd/MM/yyyy hh:mm:ss')    ----> 10/08/2022 04:38:56
    utcNow('dd/MM/yyyy hh:mm:ss tt') ----> 10/08/2022 04:36:01 PM
    utcNow('dd/MM/yyyy HH:mm:ss')    ----> 10/08/2022 16:36:30
     

    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @ekarim2020 Hey, sorry for the long response getting back to you it's been a busy one! but thank you for your help, that HH:mm:ss helped sort the issue in no time at all and I've since made a mental note of this formatting for handling future timestamps as I know it'll be popping up a lot. Really appreciate your assistance on this. 

     

    Kind Regards,

    Paul

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard