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
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (4,036)