cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ChriHan
Level: Power Up

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
PowerApps Staff FilipK
PowerApps Staff

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

Hi @ChriHan where are you seeing this show up?

Community Support Team
Community Support Team

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

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,469)