cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,819)