cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BP-PT
Helper III
Helper III

Re-Formatting Time

Hello,

 

Please can someone help with the process of creating a variable that I can re-use multiple times throughout a flow. I'd like to change the below time to something a bit friendlier for users to read - ideally also in British format so it looks something like this: DD/MM/YY - Time, Day.

 

Here's what I currently have it throwing out:

2021-09-07-T16:00:00.0000000Z

 

Any help would be greatly appreciated.

1 REPLY 1
eric-cheng
Solution Sage
Solution Sage

Hi @BP-PT ,

 

There are two options.

 

If you don't want to muck around with expressions, you can use the Date Time connector.  Its quite simple to use and you can format your Date Time relatively easily

 

ericcheng_4-1630585082457.png

 

ericcheng_5-1630585106108.png

 

 

Alternatively, you can use expression e.g. 

 

formatDateTime(utcNow(), 'dd/MM/yyyy hh:mm tt')

 

ericcheng_2-1630584910861.png

ericcheng_3-1630584931993.png

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,348)