cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ajaykumar11111
New Member

date conversion in power automate desktop

HI i have a date  19/6/2021  to be convert into 6/19/2021 in power automate desktop. can anyone help?

thanks in advance.

1 REPLY 1
Anonymous
Not applicable

Hello @ajaykumar11111,

 

Here is an example of convert date format from 19/6/2021 to 6/19/2021.

 

shindomo_0-1632050825586.png

 

shindomo_1-1632050837927.png

 

 

SET OriginalDate TO $'''19/6/2021'''
Text.ToDateTimeCustomFormat Text: OriginalDate CustomFormat: $'''d/M/yyyy''' DateTime=> TextAsDateTime
Text.FromCustomDateTime DateTime: TextAsDateTime CustomFormat: $'''M/d/yyyy''' Result=> FormattedDateTime

 

 

Thanks.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Top Solution Authors
Top Kudoed Authors
Users online (4,750)