|
1 | 1 | ---
|
2 | 2 | title: PowerToys Run utility for Windows
|
3 | 3 | 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 |
5 | 5 | ms.topic: concept-article
|
6 | 6 | ms.localizationpriority: medium
|
7 | 7 | no-loc: [PowerToys, Windows, File Explorer, PowerToys Run, Window Walker]
|
@@ -240,6 +240,42 @@ Examples:
|
240 | 240 | - `) calendar week::3/27/2022` to show the calendar week for a date value.
|
241 | 241 | - `) unix epoch::3/27/2022 10:30:45 AM` to convert the given time and date value into a Unix epoch timestamp.
|
242 | 242 |
|
| 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 | + |
243 | 279 | ### Unit converter plugin
|
244 | 280 |
|
245 | 281 | > [!IMPORTANT]
|
|
0 commit comments