Announcements
Hi,
The formatted date on power automate and the output on email is displaying wrong. I have formatted my date to display --
@Teresa24486
If this date is coming from DataVerse , then it is in UTC format so you will need to convert it to your local time zone.
This is a part of my flow where I used the convert time control:
but my output is as seen below which is one day less when it displays as the day of the week:
When in date format it displays the correct date:
From the flow run history can you show the convert timezone step input and output?
Input:
Error Details:
The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '{"Due Date": "@convertTimeZone('bg_expirydate','UTC','Arab Standard Time')"}' failed: 'In function 'convertTimeZone', the value provided for date time string 'bg_expirydate' was not valid. The datetime string must match ISO 8601 format.'.
Moreover, when trying to format date using Select control using expressions, it doesnt display all the column names. Copy- pasting the actual column name gives me the above error details.
formatdatetime doesnt work seamlessly using expressions as I had to write the actual column name instead of choosing from the columns list. So, with regard to my original post, I had to tweak a little to get the desired output. In the formatdatetime(), I added addDays() and that solved my issue.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
wolenberg_ 119 Super User 2026 Season 1
WarrenBelz 107 Most Valuable Professional
Haque 103