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 / Use FormatDateTime and...
Power Automate
Answered

Use FormatDateTime and convertTimeZone function in the same expression

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

Attached is the flow that I created. The flow is emailing me the planner tasks with Creation and Completion Date.

Workflow.jpg

 

The flow is working perfectly fine but it is not giving me the output in local time zone for Outage StartDate and Outage Completion Date columns.

I would like to keep the date format the way it is but need to convert it into Central Time Zone (US & Canada) which is my local time zone.

 

Is there a way I could club use convertTimeZone function with FormatDateTime function to achieve the output I need?

Categories:
I have the same question (0)
  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    You could take a try with expression as below:

    convertTimeZone('2018-01-01T08:00:00.0000000Z', 'UTC', 'Pacific Standard Time')

     

    You could learn more of the workflow definition language with document below:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#convertTimeZone

     

    Best Regards,

    Alice

     

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks @v-alzhan-msft 

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 464

#2
Haque Profile Picture

Haque 431

#3
David_MA Profile Picture

David_MA 323 Super User 2026 Season 1

Last 30 days Overall leaderboard