cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
19Flash92
Helper I
Helper I

How can I convert this date/time format from outlook events?

Hello,

 

I'd like to convert this date / time format to something more readable on an output:

 

Screenshot 2022-11-10 at 13.09.38.png

 

As currently its outputting like this:

 

Screenshot 2022-11-10 at 13.10.50.png

 

How can I convert this into something more user friendly please?

1 REPLY 1
Sundeep_Malik
Community Champion
Community Champion

Hey @19Flash92 

 

You can use formatDateTime function for this.

 

Use this expression:

 

formatDateTime(DateField,'yyyy-MM-dd')

 

small yyyy for year,

Capital MM for months,

small dd for date.

So, if you want other formats you can use other formats as well like

dd-MM-yyyy or dd/MM/yyyy

MM-dd-yyyy or MM/dd/yyyy

 

Dont use small mm, it is for minutes.

 

Sundeep_Malik_0-1668086697925.png

 

Sundeep_Malik_1-1668086740355.png

 

If this was the solution you were looking for accept it as the solution. And if you liked the explanation, you can give a thumbs up. It really helps. Thanks. 🙂

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