cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Date conversion

What to add in this expression, so that it takes eastern time?

 

formatDateTime(addDays(utcNow(),-1),'yyyy-MM-dd')
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Date conversion

This is I think what you want

formatDateTime(convertFromUtc(addDays(utcNow(),-1),'Eastern Standard Time'),'yyyy-MM-dd')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Highlighted
Dual Super User II
Dual Super User II

Re: Date conversion

This is I think what you want

formatDateTime(convertFromUtc(addDays(utcNow(),-1),'Eastern Standard Time'),'yyyy-MM-dd')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,280)