cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
Super User II
Super User II

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

 

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,818)