cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

PowerApp format string for Month should use capital M instead of little m as in minute

PowerApp string format for Month should use capital M instead of little m as in minute

mm/dd/yyyy hh:mm:ss

should be

MM/dd/yyyy hh:mm:ss

2 REPLIES 2
Power Apps
Power Apps

Hi @ChriHan where are you seeing this show up?

- not filipk@microsoft.com, please private message me if you can't share with everyone
Community Support
Community Support

Hi @ChriHan ,

Could you please share a bit more about your scenario?

Do you want to use MM Placeholder to represent the Month instead of mm Placeholder?

 

Currently, within PowerApps, we could use mm Placeholder to represent the Month or Minute when formatting Date time values.

Actually, we should not use mm Placeholder individually when formatting Date time values within PowerApps, it would make no sense. You should use mm placeholder along with Year placeholder, Day placeholder or Hour placeholder.

In other words, the value the mm placeholder displayed as would be based on date time format you used:

Text(Now(), "mm/dd/yyyy") /* <-- mm placeholder would display Month value */
Text(Now(), "hh:mm")   /* <-- mm placeholder would display Minute value */

More details about the Date and time placeholder, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text#date-and-time-p...

 

If you would like to use MM Placeholder to represent the Month instead of mm Placeholder within PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (76,076)