cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeeS1eve
Frequent Visitor

How To Fomat Start Time/End Time

Hi, 

 

I'm trying to convert the Start Time and End time taken from Get calendar view of events and displayed in an HTML table.

 

I have it displaying in the table but currently it shows as below - How can i get it to show in a more user friendly format (dd/mm/yy)?

 

 

LeeS1eve_0-1594375603960.png

 

 

Just to add - I have tried using the 'Convert time zone' but am having no success. My flow is shown below.

 

 

LeeS1eve_1-1594375736833.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @LeeS1eve ,

 

You could use formatDateTime() function to format the start time and end time:

175.PNG

 

Best Regards,

Community Support Team _ Barry
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

7 REPLIES 7
ChristianAbata
Super User
Super User

hi @LeeS1eve  could you share us the Convert time zone error? because the correct way is use it xD



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi,


I actually get no errors. Just nothing happens, as if it's not in the flow.

 

I think it's likely that i am using it incorrectly, or placing it incorrectly in the flow. Is it possible for you to explain how i correctly implement it? 

Shure @LeeS1eve 

 

convertTImeZine.PNG

 

see the first field is to your Date data got from html table

Then UCT universal is used to dates that you don't know the GMT transtation wthat why I use allways universal and then my currect that is -5GMT, the last field is just a format you have some there.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi @ChristianAbata 

 

Thank you for that - which stage in my flow do i place that? 

I've attempted the below which didn't work, what am i doing wrong (i imagine a lot...)

 

LeeS1eve_0-1594388808333.png

 

v-bacao-msft
Community Support
Community Support

 

Hi @LeeS1eve ,

 

You could use formatDateTime() function to format the start time and end time:

175.PNG

 

Best Regards,

Community Support Team _ Barry
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

That has worked perfectly, thanks so much!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,443)