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

 

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (5,074)