cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Convert Time Zone

I'm getting items from a Sharepoint List and emailing those items in an HTML table. The problem is that one of those items is a date which is formatted in a different time zone. I need to take the date and re-format it into Central Time Zone so that it makes sense to the email recipient. I put in a convert time zone action but it's not allowing me to grab that converted time zone in the next action to update the html table. I've managed to convert the time zone for the subject of the email but not the contents therein. I've read a few blog posts but cannot get it to work. Please HELP! 

Capture.PNG

 

screenshot.png

 

 

 

 

 

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Convert Time Zone

Hi @ersula82,

 

Please try to use the ConvertTimeZone function in the action Create HTML table to format the date time instead of using the action ConvertTimeZone.

I have made the following flow for testing, the code I used is:

convertTimeZone(item()?['Date'],'China Standard Time','Central Standard Time')

Screenshot for your reference:

1.PNG

More details on Convert Time Zone, please check it at here:

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

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 (7,707)