web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - General Discussion
Answered

Creating file, Received time, How to make it just the date without timestamp

Like (0) ShareShare
ReportReport
Posted on 9 Nov 2023 15:28:27 by 911 Super User 2024 Season 1

Hi,

 

I am creating a file in sharepoint, however the file name being created has the timestamp, can this be excluded?

 

Can we just get this part - 

 

wonka1234_0-1699543670075.png

wonka1234_1-1699543692380.png

 

I have tried - 

 

formatDateTime('Received Time''yyyy-mm-dd')

 

 

thanks

  • Verified answer
    Nived_Nambiar Profile Picture
    17,961 Super User 2025 Season 2 on 09 Nov 2023 at 15:50:59
    Re: Creating file, Received time, How to make it just the date without timestamp

    Hi @wonka1234 

     

    You have to use formatDateTime to format the timestamp to contain the date only:)

    like below

     

    Nived_Nambiar_0-1699545043892.png

     

    Expression used: 

    formatDateTime(triggerOutputs()?['body/receivedDateTime'],'yyyy-MM-dd')
     
     
    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!