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

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.

That has worked perfectly, thanks so much!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (4,876)