Skip to content

Commit eabfde8

Browse files
Merge pull request #5422 from MicrosoftDocs/main638828609307059964sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents bf71e4f + 72662b3 commit eabfde8

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

hub/powertoys/run.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PowerToys Run utility for Windows
33
description: Run is a quick launcher for power users that contains additional features without sacrificing performance.
4-
ms.date: 12/25/2024
4+
ms.date: 03/07/2025
55
ms.topic: concept-article
66
ms.localizationpriority: medium
77
no-loc: [PowerToys, Windows, File Explorer, PowerToys Run, Window Walker]
@@ -240,6 +240,42 @@ Examples:
240240
- `) calendar week::3/27/2022` to show the calendar week for a date value.
241241
- `) unix epoch::3/27/2022 10:30:45 AM` to convert the given time and date value into a Unix epoch timestamp.
242242

243+
#### Custom formats
244+
245+
The plugin includes a setting where custom formats can be defined. Custom formats are entered in a multiline text box which accepts one format per line.
246+
247+
**Please use the following syntax:**
248+
249+
- `<Format name>=<Format pattern>` for using the local time.
250+
- `<Format name>=UTC:<Format pattern>` for using the Universal Time Convention (UTC).
251+
252+
> [!NOTE]
253+
> - `Format name`: Every charter except the equal sign is supported.
254+
> - `Format pattern`: You can escape the pattern and the backslash itself as text by using a backslash as prefix.
255+
256+
**Examples:**
257+
258+
- `MyFormat=dd-MMMM-yyyy`
259+
- `MySecondFormat=dddd (Da\y nu\mber: DOW)`
260+
- `MyUtcFormat=UTC:hh:mm:ss`
261+
262+
**Supported format pattern:**
263+
264+
| Format pattern | Description |
265+
| :--- | :--- |
266+
| Standard pattern like `hh:mm:ss`. | Please see this [page](/dotnet/standard/base-types/custom-date-and-time-format-strings) for more information.
267+
| `DOW` | Number of the day in the week. |
268+
| `DIM` | Days in the month. |
269+
| `WOM` | Number of week in the month. |
270+
| `WOY` | Number of the week in the year. |
271+
| `EAB` | Era abbreviation. |
272+
| `WFT` | Windows file time as number. |
273+
| `UXT` | Unix time stamp as number. |
274+
| `UMS` | Unix time stamp in milliseconds as number. |
275+
| `OAD` | OLE Automation date as number. |
276+
| `EXC` | Excel's 1900 based date value as number. |
277+
| `EXF` | Excel's 1904 based date value as number. |
278+
243279
### Unit converter plugin
244280

245281
> [!IMPORTANT]

0 commit comments

Comments
 (0)