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 / Convert time zone date...
Power Automate
Answered

Convert time zone date format

(0) ShareShare
ReportReport
Posted on by 2,337 Super User 2026 Season 1

Hello.

I need to convert a time from NZST to UTC, but the date format is d/mm/yyyy and the Convert time zone function is picking the wrong part of the date as the day.

 

Capture.PNG

In this screen shot, the baseTime is 5/04/2019 2:46:15 AM - this is the 5th day of April. I'm converting to UTC so I want the output to be 4/4/2019 2:46:15 PM, not 5/3/2019 as it appears in the screen shot above.

 

I looked at all the available formatstrings, and none have the date format the british way around.

 

Is there a way of doing this without building the baseTime string with a series of complicated splits and concats from the original data?

Categories:
I have the same question (0)
  • vecerpa Profile Picture
    786 Microsoft Employee on at

    Hello @WillPage,

     

    This is the biggest pain in the a.. of Flow. DateTime and working with it, especially when you are trying to deploy solution cross the world.

     

    As far as I know, there is no simple way hot to transfer different notation of DateTime into the Flow one. You have to go throught first splits, middle splits and then to combine it again.

     

    I highly siggest you to create Idea for it here - https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas.

    P.

  • RobElliott Profile Picture
    10,514 Super User 2026 Season 1 on at

    Hi @WillPage, have you tried using the Convert Time Zone action? 

    ConvertTimeZone.jpg

     

    Rob

  • Dorul Profile Picture
    340 on at

    Hi @WillPage

    I guess you need to change your format string:

    Capture.JPG

     

     

     

     

     

     

    With your choice General pattern date/time, I get 1/21/2019 12:55 PM too. Try that format string, as it is in my printscreen, it shows me the result 21/01/2019 12:58:15.

  • vecerpa Profile Picture
    786 Microsoft Employee on at

    Hello @WillPage again,

     

    My fault I missed this option in this action as described by @Dorul you can change formatstring to your datetime.

     

    Big apologise.

    Pavel

  • WillPage Profile Picture
    2,337 Super User 2026 Season 1 on at

    @vecerpaUnfortunately this does not work. It swaps the day and month around on the output only:

     

    Capture

     

  • WillPage Profile Picture
    2,337 Super User 2026 Season 1 on at

    Further to this, if I set a date as the input that can't be interpreted incorrectly (e.g the day of the month > 12th), I see this:

    Capture.PNG

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @WillPage,

     

    You couldn't enter a date with type d/mm/yyyy in the flow, and the flow would always see the date with type m/dd/yyyy.

     

    So please enter a date with type mm/dd/yyyy in the flow if you would like the flow could identify your date.

     

    Best regards,

    Alice

     

  • WillPage Profile Picture
    2,337 Super User 2026 Season 1 on at

    @v-yuazh-msftthat would be the obvious solution if I could control the input, but unfortunately I have to work with this date format.

  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @WillPage,

     

    Please take a try to split the date time, and you could refer to link below to do it:

    https://powerusers.microsoft.com/t5/Building-Flows/Flow-failing-when-converting-quot-dd-MM-yyyy-quot-to-quot-yyyy/m-p/208297#M21943

     

    Best regards,

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

  • WillPage Profile Picture
    2,337 Super User 2026 Season 1 on at

    @v-yuazh-msft Thanks. I was hoping it wouldn't come to split and recombining them but it will work. I have asked a question in the other thread.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard