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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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,694)