Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
22 views
in Power Apps by 26 37 44

I'm working on a Power Apps Canvas app and using the Today() function to display the current date in a specific format. I wrote the following formula to format the current date as yyyy-MM-dd:

Text(Today(), "yyyy-MM-dd")

But instead of returning something like 2025-06-15, it's displaying:

2025-MM-15

Am I missing something?


1 Answer

0 like 0 dislike
ago by 198 253 479

Date format in Power Apps

Try to use mm instead of MM as below

Text(Today(), "yyyy-mm-dd")

Output

2025-07-01
If you don’t ask, the answer is always NO!
...