Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Get previous month and year

(0) ShareShare
ReportReport
Posted on by 219

Hi,

Every month during the start, a folder gets created in my Documents library with the name of current month and year i.e., Example: April 2022. Whatever user uploads from Apps or Forms in that month will be uploaded to this folder.

 

I am planning to create a scheduled flow to move the complete folder of previous month to an archive library i.e., on 1st day of every month, a flow runs to get the previous month name and related year in just a string format like Previous Full month name 2022

 

Simply to ask - Can you please help me on how to get March 2022 when the scheduled flows run on 1st day of April and likewise in the every month. 

 

 

Categories:
  • A-M Profile Picture
    A-M 41 on at
    Re: Get previous month and year

    Did you find a solution? I am looking for a solution for this at my work as well.

    My requirement is the same - if its January 2023, it should display December 2022

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard