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 Apps / Text(Today(), "mmmm") ...
Power Apps
Answered

Text(Today(), "mmmm") returns MMMM1704417826432 and not January

(0) ShareShare
ReportReport
Posted on by 9

I am using Text(Today(), "mmmm") in a Power App to return the current month, e.g. January.  The variable I set to this function is "MMMM1704417826432" but sometimes returns the expected "January".  Any ideas on what would cause this?  Is there a more stable way to get the current month spelled out?

Thanks!

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @laceysharpe-1 

     

    How are you setting your variable? The code <Text(Today(), "mmmm")> should always return the month name.

  • laceysharpe-1 Profile Picture
    9 on at

    In the App section, set(varCurrentMonthName, Text(Today(), "mmmm")) - I have also set it in other places and tested the value. I know this seems absurd.  I have snapshots as I fully expected our support people would not believe it.  When I got on a call with support, of course it was returning January versus the value in the snapshot of my ticket.  Does Power Apps have memory issues which may be randomly causing this? I need a consistent way to find the current month.

    Thanks for taking time to respond to my post!

  • laceysharpe-1 Profile Picture
    9 on at

    Set with a capital 'S' 🙂

  • Verified answer
    timl Profile Picture
    36,778 Super User 2026 Season 1 on at

    Hi @laceysharpe-1 

     

    You could use this method to return the month name. Whilst this is a long-winded approach, I would struggle to think of a situation in which this would not work reliably. 

    Set(varCurrentMonthName, 
     Switch(
     Month(Today()),
     1, "January",
     2, "February",
     3, "March",
     4, "April",
     5, "May",
     6, "June",
     7, "July",
     8, "August",
     9, "September",
     10, "October",
     11, "November",
     12, "December",
     ""
     )
    )

     

    I would add the Text(Today(), "mmmm") is reliable and I don't understand why you're seeing that result. The Text function returns the month name in the language that's configured in the browser. Therefore, it's worth checking what that is, and whether you have any browser extensions that could interfere with the way that the language is reported. 

  • laceysharpe-1 Profile Picture
    9 on at

    Thank you!  I ended up creating a new variable and for some strange reason it has worked so far.  When things should be straight forward and they are not it is frustrating.  I appreciated the alternate solution.

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 Apps

#1
11manish Profile Picture

11manish 577

#2
WarrenBelz Profile Picture

WarrenBelz 440 Most Valuable Professional

#3
Haque Profile Picture

Haque 308

Last 30 days Overall leaderboard