Skip to main content
Community site session details

Community site session details

Session Id : H6tHPfzABW9TPPxGwRrS5V
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,919 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! 🙌

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete