cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Convert time zone help

Hello!

 

I got this flow that works to append comments into powersapps, but the timestamp is in the wrong timezone.

 

I tried to convert it with "Convert time zone" somehow but havent succeded.

 

Any ideas?

 

My flow looks like this:

msflowconverttimezone.PNG

 

Compose:

 

formatdatetime(items('Apply_to_each')['Modified'],'yyyy-MM-dd HH:mm')

 

Append to string variable:

 

concat('<div style="margin-bottom:5px;">',items('Apply_to_each')['Author']  
['LookupValue'],' (<span style="color: rgb(3, 131,  
135)">',outputs('Compose'),'</span>)',': ',items('Apply_to_each')  
[variables('ColumnName')],'</div>')

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Convert time zone help

Hi @288088 ,

 

You could convert the date time before add it to the Compose, please refer to screenshot below to create the flow:

1.png

 

items('Apply_to_each')['Modified']

 

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

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Convert time zone help

Hello @288088 

 

Consider using the Convert time zone action:

 

50DD9C73-0DAF-4712-BBE5-FA83CBBD3783.jpeg

Source Time zone use UTC.





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




Highlighted
Community Support
Community Support

Re: Convert time zone help

Hi @288088 ,

 

You could convert the date time before add it to the Compose, please refer to screenshot below to create the flow:

1.png

 

items('Apply_to_each')['Modified']

 

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
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.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,863)