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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to add the datesta...
Power Automate
Unanswered

How to add the datestamp at the end of a filename using Create File action

(0) ShareShare
ReportReport
Posted on by 523

Hi!

 

How do I add the datestamp at the end of the filename using Create File Action?

 

This will be running on daily basis so I need an expression that will add the datestamp at the end of the file name . 

 

So if it runs today, it would be Merf_06132023.csv

if runs tomorrow, then Merf_06142023.csv

 

(I am testing the flow for now before I move it to the triggered flow)

 

CreateaFileNamewithDatestamp.PNG

 

Thank you,

Holly

Categories:
I have the same question (0)
  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    All you need to do is get the current time and then format it into 'MMddyyyy' and put it into your file name.

     

    I have two examples below that are basically the same. One example has all of the steps using flow actions and the other example just uses an expression.

    Using the flow steps looks like a lot of extra items, but it is easier to follow or modify if you aren't accustomed to using expressions.

     

    FileName DateFileName DateFileName Date ResultsFileName Date ResultsFileName Date ExpressionFileName Date Expression

     

  • Holly_CMS Profile Picture
    523 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard