cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tiffany-Jo
Helper V
Helper V

Get different date

HI

I want to know why I create the date of one share point list based on the other share point list.

We got different date.

Does that impacted by timezone?

I set recurrence trigger and use the expressions such as addDays(utcNow(), -3, 'yyyy-MM-ddTHH:mm:ssZ').

could you please kindly give me some tips?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Tiffany-Jo ,

 

Update:

I have made a test just now and find the Time zone works on my side, and you could also take a try with it.

 

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.

View solution in original post

9 REPLIES 9
yashag2255
Dual Super User II
Dual Super User II

Hi @Tiffany-Jo 

 

Following your thread from here: https://powerusers.microsoft.com/t5/General-Power-Automate/Get-different-date/m-p/524021#M48594

 

This is definitely due to time zone issues. You need to change the regional settings on the sharepoint site to your region and then pass the date time values. 

 

You can check the troubleshoot in the post below:

 

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/10-MS-Flow-hacks-troubleshoots-wor...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-alzhan-msft
Community Support
Community Support

Hi @Tiffany-Jo ,

 

Have you take a try with @Tiffany-Jo 's suggestion?

You could also take a try to add or sub the time zone difference on the utcNow() for troubleshooting this issue.

 

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.

hi Thank you for you reply.

could you please kindly tell how to add the timezone to utcNow().This is Japan location.

Hi @Tiffany-Jo 

 

You can use the convert time action for that: 

rre.PNG

 Select your time zone from the destination time zone and use the output of this action. 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

HI Thank you. could you please kindly check if below setting is correct and tell how to update the expression highlighted in yellow.

キャプチャ.JPG

Hi @Tiffany-Jo 

 

In the Format string option of the convert time action, select the value as highlighted in my previous response. 

 

In the expression, for the modified le field, you can add the expression as adddays(otuputoftheconvertedtime, -3)

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Hi @Tiffany-Jo ,

 

The expression should be as below:

addDays(body('Convert_time_zone'), -3, 'yyyy-MM-ddTHH:mm:ssZ')

Or you could add the 9 hour to UTC time directly so you needn't the Convert time zone action:

addDays(addHours(utcNow(),9), -3, 'yyyy-MM-ddTHH:mm:ssZ')

 

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.

HI Thank you very much.

Could you please kindly tell if I could set as below( no change of expression).

It seems that Recurrence time zone is not working.

キャプチャ.JPG

Hi @Tiffany-Jo ,

 

Update:

I have made a test just now and find the Time zone works on my side, and you could also take a try with it.

 

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.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,326)