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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a variable for ...
Power Automate
Unanswered

Create a variable for Current Month

(0) ShareShare
ReportReport
Posted on by 8

I want to create a variable where the current month is within the subject line of an email I send on a recurring monthly basis. However, I'm not sure how that is supposed to work.

 

Can anyone assist with this?

Categories:
I have the same question (0)
  • WBADAM03 Profile Picture
    179 on at

    Make an init variable and set it to string.

    Then write an expression.

    Then just include the variable as a dynamic content in the subject

    This might help you regarding what kind of expression to write:

    https://debajmecrm.com/how-to-get-year-month-and-day-in-various-formats-from-a-date-in-power-automate/

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    You just need to format a datetime to get the month name.

     

    To get the current month would be:

     

    utcNow('MMMM')

     

     

    To get the month name from another date source would be:

     

    formatDateTime({yoursource},'MMMM')

     

     

    You can see how to get the month name from this post:

    https://powerusers.microsoft.com/t5/Building-Flows/Return-the-Month-name-from-date/td-p/664424

     

    Here is a variable with the current month's name. Then put that variable in the Subject line.

    Month Name Variable Email SubjectMonth Name Variable Email Subject

     

    Let me know if this works for 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard