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

Today() is giving old date

Hi

 

So I'm trying to get the month name from the date of today like this:
Text(Month(Today());"mmmm")

 

But it gives me the month January instead of February. If I write it like this:

Text(Month(Today());"[$-nl-NL]dd mmmm yyyy")

 

I get 01 January 1970. What am I doing wrong?

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

The Month() function gives the number of the month from the date, but Text() is expecting a full date time.  That's why you are getting the wrong output.  To get the month name for today just use this.

Text(Today(),"mmmm")


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

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

The Month() function gives the number of the month from the date, but Text() is expecting a full date time.  That's why you are getting the wrong output.  To get the month name for today just use this.

Text(Today(),"mmmm")


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

Thank you very much, that worked!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

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

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,774)