cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Patron
Post Patron

Format quick parts with custom date?

I've been trying to format quick parts with a custom date but don't think this is possible?

 

The date is taken from a SharePoint date column and displayed as "23/02/2021"


How can I get the flow to format the date in this format - "23 February 2021" ?


I've tried putting in "formatDateTime('DateLetterCreated', 'dd/MM/yyyy hh:mm tt')"

This however doesn't work as now the field it tries to update the content of a document with is not a SharePoint field.
Somehow the date field in SharePoint needs to be conditionally formatted in SharePoint first.

sudosaurus_0-1614073928311.png

It doesn't actually need to be a date field as the data is being imported from Excel on another flow. So can be plain text if that better?

3 REPLIES 3
ChristianAbata
Super User II
Super User II

hi @sudosaurus  you can use this action

mooa.PNG



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
sudosaurus
Post Patron
Post Patron

Hi @ChristianAbata 

 

I've tried this however its still displaying in the native format:

I want it to display as [DAY] [Month] [YEAR] with no commas.
Rather than displaying as 24/02/2021.

sudosaurus_0-1614159853828.png

 

@sudosaurus 
The formula below should do:

formatDateTime('DateLetterCreated''dd MMMM yyyy')

You can also check the page below about all you can do with formatDateTime:
formatDateTime to Format Dates with Power Automate (sharepains.com)
Hope it helps!

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 (49,799)