Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Date Time from SP not coming over correctly

(0) ShareShare
ReportReport
Posted on by 523

Hi,

 

I am really finding the date/time zone expressions in Power Automate quite challenging. 

 

In SP, we have a field that is a date/time that users enter a future date in

In Automate, it is in the UTC time zone. We are in the Arizona time zone that we need to use the Pacific time zone. But the Automate isn't allowing it in the expression. I don't like the format when using the value.

879d1643-0bc2-4acc-8c54-ed07d6412ef7.png

So I am stuck in the format so far...

formatDateTime(triggerOutputs()?['body/Datetoprocessrequest_x003a_'], 'MM/dd/yyyy')

 

SP Date and Time fieldSP Date and Time fieldOutputOutput

 

 

 

The left is the value in the SP DateTime field and the right is the outcome from Automate. 

 

Thanks!

  • Holly_CMS Profile Picture
    523 on at
    Re: Date Time from SP not coming over correctly

    Thank you!

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Date Time from SP not coming over correctly

    Hi @Holly_CMS ,

     

    Please try:

    formatDateTime(addHours(triggerOutputs()?['body/Datetoprocessrequest_x003a_'],-7), 'MM/dd/yyyy')

     

    Best Regards,

    Bof

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow