Skip to content

Commit 0470d63

Browse files
authored
Update function-text.md
1 parent f5a1772 commit 0470d63

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

powerapps-docs/maker/canvas-apps/functions/function-text.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ If a number has more digits to the right of the decimal point than there are pla
6969
| **yy** | Displays the year as a two-digit number. |
7070
| **yyyy** | Displays the year as a four-digit number. |
7171
| **h** | Displays the hour as a number without a leading zero. |
72-
| **hh** | Displays the hour as a number with a leading zero when appropriate. If the format contains **AM** or **PM**, the hour is shown based on the 12-hour clock. Otherwise, the hour is shown based on the 24-hour clock. |
73-
| **m** | Displays the minute as a number without a leading zero.<br>The **m** or the **mm** code must appear immediately after the **h** or **hh** code or immediately before the **ss** code; otherwise, **Text** returns the month instead of minutes. | | **mm** | Displays the minute as a number with a leading zero when appropriate. <br> The **m** or the **mm** placeholder must appear immediately after the **h** or **hh** placeholder or immediately before the **ss** placeholder. Otherwise, **Text** returns the month instead of minutes. | |
74-
| **s** | Displays the second as a number without a leading zero. |
75-
| **ss** | Displays the second as a number with a leading zero when appropriate. |
72+
| **hh** | Displays the hour as a number with a leading zero when appropriate. If the format contains **AM** or **PM**, the hour is shown based on the 12-hour clock. Otherwise, the hour is shown based on the 24-hour clock. |
73+
| **m** | Displays the minute as a number without a leading zero.<br>The **m** or the **mm** code must appear immediately after the **h** or **hh** code or immediately before the **ss** code; otherwise, **Text** returns the month instead of minutes. |
74+
| **mm** | Displays the minute as a number with a leading zero when appropriate. <br> The **m** or the **mm** placeholder must appear immediately after the **h** or **hh** placeholder or immediately before the **ss** placeholder. Otherwise, **Text** returns the month instead of minutes. |
75+
| **s** | Displays the second as a number without a leading zero. |
76+
| **ss** | Displays the second as a number with a leading zero when appropriate. |
7677
| **f** | Displays the fractions of seconds. |
77-
| **AM/PM**, **am/pm**, **A/P**, **a/p** | Displays the hour based on a 12-hour clock. **Text** returns "AM", "am", "A", or "a" for times from midnight until noon and "PM", "pm", "P", or "p" for times from noon until midnight |
78+
| **AM/PM**, **a/p** | Displays the hour based on a 12-hour clock. **Text** returns "AM" or "a" for times from midnight until noon and "PM" or "p" for times from noon until midnight |
7879

7980
### Literal placeholders
8081
You can include any of these characters in your format string. They will appear in the result of **Text** as is. Additional characters are reserved for future placeholders, so you shouldn't use them.

0 commit comments

Comments
 (0)