cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cagd2000
Regular Visitor

FTP variable path depending of date

When a file is added or modified in a FTP server I ned the path chenge depending of year and month (the name is a join betwin year, “-” and month).

Thanksnew.png

1 REPLY 1
manuelstgomes
Community Champion
Community Champion

Hi @cagd2000 

 

You can use the following formula to build what you need.

 

concat(formatDateTime(utcNow(),'yyyy'),'-',formatDateTime(utcNow(),'MM'))

 

 If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,232)