web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Amend format of receiv...
Power Automate
Answered

Amend format of received time dynamic content

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm using power automate to sort incoming emails into a SharePoint file. The created SharePoint file name is "'received time' 'subject'.eml" but the default layout for received time is 'YYYY-MM-DD T h_m_s + 00_00'. I would ideally like this to read 'DD-MM-YYYY T h_m' but I cannot find a way to do this. Any suggestions?

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to The 'received time' format convert to ''DD-MM-YYYY T h_m'?

    If so, I have a test for your reference.

    In my scenario:

    vyetonggumsft_1-1696851830899.png

    vyetonggumsft_2-1696851905580.png

    vyetonggumsft_0-1696851808256.png

    	concat(concat(
     split(split(outputs('Received_Time'),'-')[2],'T')[0],
     '-',split(outputs('Received_Time'),'-')[1],
     '-',split(outputs('Received_Time'),'-')[0]
     ),
    	 ' T ',
    	 concat(
    		 substring(split(outputs('Received_Time'),'T')[1],0,2),
    		 '_',
    		 substring(split(outputs('Received_Time'),'T')[1],3,2) 
    				 )
    		 )

     

    Best Regards,

    Sunshine Gu

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yetonggu-msft 

    Thanks for your reply.

    I've tried using your solution but it has flagged the following error:

    georgep982_0-1696943834485.png

    This is my complete flow, with your solution copied and pasted in, in case the issue is with the way I've formatted it:

    georgep982_1-1696943916254.png

    georgep982_2-1696943950502.png

    (there is a SharePoint address that I have removed for the screenshot).

    Can you see anything that is wrong?

     

    Thanks,

    George

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Reference the compose control name in your scene.

    vyetonggumsft_0-1697001665968.png

    concat(concat(
     split(split(outputs('compose'),'-')[2],'T')[0],
     '-',split(outputs('compose'),'-')[1],
     '-',split(outputs('compose'),'-')[0]
     ),
     ' T ',
     concat(
     substring(split(outputs('compose'),'T')[1],0,2),
     '_',
     substring(split(outputs('compose'),'T')[1],3,2) 
     )
     )

    Best Regards,

    Sunshine Gu

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes that has worked. Thanks @v-yetonggu-msft 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard