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 / Problem with convertin...
Power Automate

Problem with converting the time zone

(1) ShareShare
ReportReport
Posted on by 2

Hello everyone,

I am currently using the connector to convert to a time zone. As far as I know, I have entered everything correctly, but I am still getting the time in the wrong format.
The desired time is Tuesday, 02.07.2024 09:00 but the output is
"Tuesday, July 2, 2024 9:00 AM"

Best regards

Toebses 

Screenshot 2024-07-01 154605.pngScreenshot 2024-07-01 154625.png

Categories:
  • Ellis Karim Profile Picture
    12,344 Super User 2026 Season 2 on at

    Hi @Toebses ,

     

    Try a custom format string:

    2024-07-01_17-45-09.PNG

     

    2024-07-01_17-42-34.PNG

     

    dddd, dd.MM.yyyy HH:mm

     

    2024-07-01_17-47-35.PNG

     

    See: Custom date and time format strings - .NET | Microsoft Learn


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

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @Toebses,

     

    Convert time zone using converttimezone() function:

     

    Syntax

    convertTimeZone(<<timestamp>>, <<sourceTimeZone>>, <<destinationTimeZone>>, <<format>>)

     

    Example:

    convertTimeZone(utcNow(), 'UTC', 'W. Europe Standard Time', 'f')

     

     

    Regards

    Kaif

  • Töbses Profile Picture
    2 on at

    Hey @ekarim2020,

    thanks the output is now correct, but my next step failed.

     

    Wanted to change the template "Find a meeting time" only to German, but somehow there are many problems

     

    CU010713370_0-1720430155419.png

     

     

  • Ellis Karim Profile Picture
    12,344 Super User 2026 Season 2 on at

    Hi @CU01071337-0 ,

     

    To use a Date/Time value in the "Fine Meeting times" and other similar actions, the date time needs to be in 8601 format: YYYY-MM-DDThh:mm:ss (e.g., 2024-07-08T14:30:00).

     

    I suggest trying the following:

     

    2024-07-08_22-09-25.PNG

    The compose action uses the following expressions:

    formatDateTime(body('Convert_time_zone'),'dddd, dd.MM.yyyy HH:mm')

     

    2024-07-08_22-10-36.PNG

    2024-07-08_22-14-57.PNG

    2024-07-08_22-15-16.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.
    My Blog Site

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard